Page 1 of 2

creat game" flappy birds"

Posted: Tue Oct 10, 2017 12:41 am
by ciavelillse
How can i creat this game? Can you give me an ideal?

Re: creat game" flappy birds"

Posted: Tue Oct 10, 2017 1:18 am
by ClipArtGuy
This course on udemy might be something to look at: https://www.udemy.com/livecode101/#curriculum

Re: creat game" flappy birds"

Posted: Sat Oct 14, 2017 7:33 pm
by capellan
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

Re: creat game" flappy birds"

Posted: Sun Oct 15, 2017 4:12 am
by Newbie4
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

Re: creat game" flappy birds"

Posted: Mon Oct 16, 2017 5:13 am
by capellan
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

Re: creat game" flappy birds"

Posted: Tue Oct 17, 2017 3:38 pm
by Newbie4
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

Re: creat game" flappy birds"

Posted: Wed Oct 18, 2017 3:44 am
by capellan
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

Re: creat game" flappy birds"

Posted: Wed Oct 18, 2017 2:42 pm
by bogs
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.

Re: creat game" flappy birds"

Posted: Thu Oct 19, 2017 3:36 pm
by capellan
Yes, LiveCodeGameDeveloper is excellent and some months ago,
I bought Scott McDonald's ebook about LiveCode games.

Al

Re: creat game" flappy birds"

Posted: Sat Feb 17, 2024 7:31 pm
by richmond62
What is the connexion between the last post and the rest of the thread?

Re: creat game" flappy birds"

Posted: Tue Feb 20, 2024 8:56 pm
by faber3d
Cyril Pruszko is a retired computer science teacher, creator of one of the best Livecode teaching sites on PGCPS Google Sites which are now down due to Google updates.

One of his last tutorials was about the game "Flappy Bird"

The course are in the site of Udemy.

A excellent Teacher.

Re: creat game" flappy birds"

Posted: Tue Feb 20, 2024 9:52 pm
by stam
faber3d wrote:
Tue Feb 20, 2024 8:56 pm
Cyril Pruszko is a retired computer science teacher, creator of one of the best Livecode teaching sites on PGCPS Google Sites which are now down due to Google updates.

One of his last tutorials was about the game "Flappy Bird"

The course are in the site of Udemy.

A excellent Teacher.
The course on Udemy is by Fulvio Massini. And yes it has a flappy bird clone.
It’s a decent but incomplete course (the last chapters promised were never delivered) - and now quite old, but a lot of things in it are still valid and a decent starting point in spite the antiquated IDE.
In fact, I purchased it way before I got into LiveCode as a way of dipping my toes in and getting a feel for LiveCode. It was obviously good enough ;)

I’ve always wished there were more Udemy courses for LiveCode. LC Ltd could have done worse than sponsoring one of the many established and effective tutors to create advanced courses… (not like the shorts on YouTube although they are needed too, but a full, in-depth course building 1-2 full apps. I so often see half done bits of apps being illustrated on YouTube and even behind the LC paywalls, but they are practically never a full app, unlike many of the Udemy courses in other languages). But alas…

Re: creat game" flappy birds"

Posted: Wed Feb 21, 2024 5:29 am
by faber3d
Greetings stam.

Very true, the example that Professor Cyril Pruszko worked on is based on the Udemy tutorial but it is simpler and more complete, the sad thing is that the site is down.

Re: creat game" flappy birds"

Posted: Wed Feb 21, 2024 3:49 pm
by stam
Sadly one should never rely on Google for any services; the can and may well be withdrawn with minimal notice, as I believe is the case here.
There are many free alternatives, one can even use GitHub to publish static web sites/pages (likely to last as much as anything else).

Hopefully Cyril will consider replicating his extensive set of webpages to a different platform as his tutorials definitely have been a resource for the community.

But again, I still think there need to be many more in-depth and full tutorials on sites like Udemy - not only are these great learning tools, but would also serve to raise LC's profile on sites frequented by younger developers and keen prospective developers.

Re: creat game" flappy birds"

Posted: Wed Feb 21, 2024 7:32 pm
by FourthWorld
I've tried reaching out to Cyril on LinkedIn, but he's not very active there so I don't expect a response.

If anyone here can reach him, I'd be happy to provide hosting for his LC collection at livecodejournal.com