AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Game] Frogger

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Wed Mar 25, 2009 12:37 am    Post subject: [Game] Frogger Reply with quote

Well, after putting this project on hold a few months ago, I decided to rush and finish it.


Due the using a picture, the code is included with the image in a .zip.
Download: http://www.autohotkey.net/~tidbit/Frogger/frogger.zip
sorry for the sloppy, unorganized, horrid coding Arrow Embarassed .

History: A few months ago I got really bored and decided to make an AHK game. This idea was frogger. Over the last 2-3 months it has been sitting and collecting dust due to some complications. But I decided to make a crappier version of what I intended and now maybe you clever AHK people can help me or better yet fix it. Note: this is not an "ask for help" topic.

Bugs:
Pressing left while behind a vehicle alows you to "mildly" overlap the vehicle.
the game slows down a little when you move.
others...

Controls: ARROWS, ESC, PAUSE.

I find this frogger attempt boring and VERY easy. the area where I had trouble was making a system where you could have more then 1 object on a row. So instead of having 3 rows of 1 log/car, having 3 rows of 2, 3, 4+ logs/cars. getting this to work would make it much more frogger-like. also the real frogger has 4 rows. I was just lazy.
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
happytodd



Joined: 12 Nov 2007
Posts: 142
Location: South Australia

PostPosted: Wed Mar 25, 2009 12:08 pm    Post subject: Reply with quote

Damn this is so awesome, hopefully we can get some people to polish it up aye. Good work though!

Another bug:
When your on the log the log doesn't move you automatically on it. You gotta move left as the logs move...
_________________

Back to top
View user's profile Send private message Visit poster's website
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Wed Mar 25, 2009 3:23 pm    Post subject: Reply with quote

that's no bug Razz
some frogger games haves "move you automatically when on a log", some don't. But should be easy to add if needed. Will try later.
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 3113
Location: MN, USA

PostPosted: Wed Mar 25, 2009 6:13 pm    Post subject: Reply with quote

Neat idea! Everybody knows Frogger!

You might find the WebDings font useful for the objects in the game (text controls instead of progress). I've used it in most of my own games; I believe it comes standard with most or all Windows versions. Anyway, it has several vehicles you could use, including a fire truck, police car, ambulance, and bus. There are also a couple boats. Unfortunately there is no frog, but there is a spider and something that looks like a fly (in some frogger games you get bonus points for eating spiders and flys).

Thanks for posting this. Cool
Back to top
View user's profile Send private message Visit poster's website
strictlyfocused02



Joined: 21 Jan 2009
Posts: 63

PostPosted: Thu Mar 26, 2009 10:07 am    Post subject: Reply with quote

haha this is pretty awesome!

<3 Frogger Cool
Back to top
View user's profile Send private message
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Thu Mar 26, 2009 3:31 pm    Post subject: Reply with quote

thanks strictlyfocused02

jaco0646:
Thanks. maybe the webdings would be better when/if someone can implement support for multiple objects per row (though I do have an idea, will try it someday). otherwise the vehicles would be to narrow and would make it even easier. Plus there are only 2 sideview vehicles in webdings (bike/ambulance), a frontview car wouldn't look that good.
good idea though Smile.

as I loosely stated in my post, I don't have much interest in updating this myself, that's why its been sitting and collecting dust for a couple of months. however, I will probably attempt to update it once-in-a-while. but I will post any modifications in my 1st post.
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
SoggyDog



Joined: 02 May 2006
Posts: 783
Location: Greeley, CO

PostPosted: Thu Mar 26, 2009 11:37 pm    Post subject: Reply with quote

I absolutely love this. I SOOOOO want to see more games written in AHK. I asked once before if anyone wanted to write a Mancala game, but nothing ever came from it (and I don't do well with game logic, so I'm out). Further, I'm still dieing to see more work done on Bentschi's efforts with the AHK-based OpenGL 3D Game Engine (Warning: German Post; Try Babelfish if you don't speak/read German).
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Fri Mar 27, 2009 12:00 am    Post subject: Reply with quote

Thanks SoggyDog.
that OpenGL game engine looks awesome! either that's a good brick texture, or I see bump/normal mapping, <3<3.

mancala...good ol' game. Though I'd have no idea where to start. But would be quite interesting.
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Apr 01, 2009 4:44 pm    Post subject: thanks Reply with quote

Back to top
Tseik



Joined: 09 Oct 2008
Posts: 180
Location: Finland

PostPosted: Thu Apr 02, 2009 4:40 am    Post subject: Reply with quote

Thats nice, duud! =D
I totally forgot to do my MightyTank game... maybe i`ll finish it someday!
Back to top
View user's profile Send private message
SpiderGames



Joined: 09 Jun 2008
Posts: 936
Location: Canada

PostPosted: Thu Apr 02, 2009 11:30 am    Post subject: Reply with quote

i like it. one problem is the logs separate and make it impossible to cross the water. Also if you are interested with game scripting i would recommend Game Maker7.


Kool game tho.
_________________

I know i have 6 legs. It's cuz I'm special.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Thu Apr 02, 2009 3:04 pm    Post subject: Reply with quote

@ SpiderGames:
I used GM6/7 for 3 years. its quite good, but the community sucks (I made a tutorial pack (60+) and the mods wouldn't let me post it anywhere....) and is "meh" to me now. I even made a frogger game.

the logs separate, yes, just like in the real game. Different speeds. Thats why I want to (or have someone else) implement a way to have more then 1 log per row (instead, 3 or 4) to make it not so..boring.
its still not impossible, it just requires good timing.

@Tseik
Thanks Surprised
take your time ^^ I sure did.

@Guest
xD thanks for the glittery text.
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
tomoe_uehara



Joined: 05 Sep 2009
Posts: 1591
Location: Somewhere near you

PostPosted: Tue Jun 21, 2011 5:27 am    Post subject: Reply with quote

Squish... Shocked
Need an opponent for this ---> C4 (Game with network capability)
_________________

The quick onyx goblin jumps over the lazy dwarf
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group