First Game (help needed)

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: First Game (help needed)

Post by sefrojones » Tue May 13, 2014 10:08 pm

I just did a little tweaking on your last attachment to smooth out the movement when it intersects. Basically I used "move" instead of "set" in the intersection checks. I set the sgamerunning to false to stop it from checking during the movement, and then the set it back to true with the movestopped handler so the game can continue. It's nothing special, but you might like the effect.

--Sefro

edit:

I also just noticed that you have:

Code: Select all

--IMPORTANT to stop messages
   repeat with x = 1 to the number of lines of the pendingMessages
      cancel item 1 of line x the pendingMessages
   end repeat
Just sitting in the card script it doesn't really do anything as far as I can tell, it needs to be in the stopgame handler.
Attachments
PrAnim.zip
(2.96 KiB) Downloaded 250 times

catalinanesia
Posts: 83
Joined: Sun Feb 16, 2014 10:08 pm

Re: First Game (help needed)

Post by catalinanesia » Wed May 14, 2014 6:42 am

Good morning,
just a preview on the attached stack, Long live the Princess !!!

A piece of advice is welcomed regarding the game Levels:
1) to create levels should I clone/duplicate/copy-paste the card with all the buttons and or game assets ?
2) it is better to maintain only 1 card for levels and every time to generate a new level
by using "set the loc of button's to x,y coordinates" for each button or element I want
to be present on that level at the predefined location ?
3) ... I have no other ideea

link to Dropbox for download https://www.dropbox.com/s/s3gp22x48q2m1 ... s%20v1.zip

Regards,
Catalin

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: First Game (help needed)

Post by sefrojones » Wed May 14, 2014 11:44 am

Catalin,

It's looking better and better every day!

1) I did a little tweaking to your stack again. Firstly, I moved the card script up to the stack level, so new levels can be created as new cards and all use the same scripts.

2)It depends on the game. I think with the game you're working on a new card for each level is probably the best. (see my example) I made a new level button on the main screen which clones a template card and sets it to the last card before the "invisible" template card. This card contains all of the buttons that your script calls for, and seems to be working fine. (I made a couple quick levels to test it out)


Hope some of this helps!

--Sefro

Attachment was too big, here's a google drive link

https://googledrive.com/host/0B9myvEGzD ... levels.zip

catalinanesia
Posts: 83
Joined: Sun Feb 16, 2014 10:08 pm

Re: First Game (help needed)

Post by catalinanesia » Wed May 14, 2014 1:04 pm

Thanks for the fine tune,
I will gladly work on it later on today.
Regards,
Catalin

catalinanesia
Posts: 83
Joined: Sun Feb 16, 2014 10:08 pm

Re: First Game (help needed)

Post by catalinanesia » Tue May 27, 2014 7:54 pm

Hi everyone,
I am glad to see that people are still checking this post.
I did not abandon this learning project/game,
only that I have been iterating with graphic design and my day
to day job has a tendency to interfere with my free time ... sadly :(

Will post an update and shoot out questions soon!

PS did anyone played/modified this small game?
Regards,
Catalin

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: First Game (help needed)

Post by sefrojones » Tue May 27, 2014 8:11 pm

I haven't done anything with the stack since the last tweak I posted. Can't wait to see how it's turning out so far!

--Sefro

catalinanesia
Posts: 83
Joined: Sun Feb 16, 2014 10:08 pm

Re: First Game (help needed)

Post by catalinanesia » Mon Jun 02, 2014 6:46 am

Here is the Princess graphic concept,
Image
https://www.dropbox.com/s/x0xjrf5fgdtpr ... raphic.png

Working on the code side this week, adding some animation menus and fine tuning ...
Regards,
Cata

Post Reply

Return to “Games”