creat game" flappy birds"

Creating Games? Developing something for fun?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
ciavelillse
Posts: 1
Joined: Tue Oct 10, 2017 12:29 am

creat game" flappy birds"

Post by ciavelillse » Tue Oct 10, 2017 12:41 am

How can i creat this game? Can you give me an ideal?

ClipArtGuy
Posts: 90
Joined: Wed Aug 19, 2015 4:29 pm

Re: creat game" flappy birds"

Post by ClipArtGuy » Tue Oct 10, 2017 1:18 am

This course on udemy might be something to look at: https://www.udemy.com/livecode101/#curriculum

capellan
Posts: 409
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: creat game" flappy birds"

Post by capellan » Sat Oct 14, 2017 7:33 pm

Hi Clavelillse,

Download Derek Bump stack:
http://livecodeshare.runrev.com/stack/3 ... -Game-Test

and this one, posted by myself:
https://drive.google.com/file/d/0B9ja3Y ... sp=sharing

The second stack displays:

1) an animated bird flying over an animated background image (the animated gif is inside a background group with the Dynamic Layer property set.)

You could control the bird position using these keyboard keys:

QWE
A S
ZXC

2) a 20 cards flip animation that plays when you press the mouse button inside the photo or stack background.

In this version, you could use sliders to control the speed and movement step of the animated gif.

After download, playing and reading the source code of these stacks, please read these forum thread for
more ideas, downloadable files and scripts:

viewtopic.php?f=22&t=18597
viewtopic.php?f=10&t=18637
http://runtime-revolution.278305.n4.nab ... 82250.html

Al

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 254
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: creat game" flappy birds"

Post by Newbie4 » Sun Oct 15, 2017 4:12 am

You are welcome to use the simple lessons here
https://sites.google.com/a/pgcps.org/li ... flappybird

which also adds more customization to it - a turbo mode, controls for speed, gravity, tracking high scores and adding palettes/subscripts for pop-up controls

capellan
Posts: 409
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: creat game" flappy birds"

Post by capellan » Mon Oct 16, 2017 5:13 am

This is an excellent tutorial! Thanks a lot for linking to it :D

I Just keep wondering if scripts were created that way on purpose,
for generating conversations and discussions among students. :shock:

If so, this was clever, very clever. :lol:

Al

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 254
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: creat game" flappy birds"

Post by Newbie4 » Tue Oct 17, 2017 3:38 pm

I am glad that you enjoyed it. It is great to involve students in the planning, design and implementation of a program. I also learn much with their questions, their answers and the problems they encounter. The scripts usually mimic the real life classes

People learn best by doing. Writing a game or app is a good way to learn programming. Learn it as you go. Learn it as you need to. Instead of teaching a concept, then writing some little programs using it, why not write a real program (App/Game/etc) and learn the concepts as you need to?

The best example is my "Artificial Intelligence - Writing your own chatbot" (Siri, Google Now, etc). https://sites.google.com/a/pgcps.org/li ... telligence. We start out giving our chatbot some basic understanding of some words (mother, father, dog, etc) using if statements. If you type "mother", it will respond with "Tell me more about your family".

As we add more and more words, our code starts getting long and tedious. We then have a reason to create a function to make it easier.

Then we learn that a 6 year old has an expressive vocabulary of 2,00-2,600 words and a receptive vocabulary of up to 20,0000 words. So to make our chatbot as smart as a 6 year old, we need to find a better way. This is a good chance to learn about lists and how to use them.

Taking it further, a 12 year old has a vocabulary of 50,000 words. To search through that list, takes time, even for a computer. So this requires using an array and just look up the word.

There is also a learning opportunity to learn to import word lists to make it easier for us to add more "intelligence".

In doing a project like this, they learn not only many concepts and how to code them but also an appreciation for when and how to use them.

Make learning fun, useful and effective with neat projects. Then teach them the principles and coding as the need arises or as an adjunct to the program.

Thank you

capellan
Posts: 409
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: creat game" flappy birds"

Post by capellan » Wed Oct 18, 2017 3:44 am

Excellent! Thanks a lot for explaining this.

I hope to find enough time to review more
thoroughly your School LiveCode Programming
Course.

Have a nice week!

Al

bogs
Posts: 720
Joined: Sat Feb 25, 2017 10:45 pm

Re: creat game" flappy birds"

Post by bogs » Wed Oct 18, 2017 2:42 pm

I have to say, I do find a lot of interesting material on that site and it is very well explained and incredibly easy to digest. I've pointed more than a few people there, and it is one of my permanent bookmarks.

I don't know if you've seen this site or not, although it has nothing about flappy birds per se, it *does* have a lot of code relating to gaming in general, and Lc specifically.
ImageImage

capellan
Posts: 409
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: creat game" flappy birds"

Post by capellan » Thu Oct 19, 2017 3:36 pm

Yes, LiveCodeGameDeveloper is excellent and some months ago,
I bought Scott McDonald's ebook about LiveCode games.

Al

Post Reply

Return to “Creating Games”