AutoHotkey Community

It is currently May 26th, 2012, 4:23 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: [Game] Frogger
PostPosted: March 25th, 2009, 1:37 am 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
Well, after putting this project on hold a few months ago, I decided to rush and finish it.
Image

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: :oops: .

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.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2009, 1:08 pm 
Offline

Joined: November 12th, 2007, 10:18 am
Posts: 142
Location: South Australia
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...

_________________
Image
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2009, 4:23 pm 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
that's no bug :P
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.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2009, 7:13 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
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. 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 26th, 2009, 11:07 am 
Offline

Joined: January 21st, 2009, 1:06 pm
Posts: 63
haha this is pretty awesome!

<3 Frogger 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 26th, 2009, 4:31 pm 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
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 :).

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.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 27th, 2009, 12:37 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
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).

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 27th, 2009, 1:00 am 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
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.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject: thanks
PostPosted: April 1st, 2009, 5:44 pm 
Image


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 2nd, 2009, 5:40 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
Thats nice, duud! =D
I totally forgot to do my MightyTank game... maybe i`ll finish it someday!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 2nd, 2009, 12:30 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
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.

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 2nd, 2009, 4:04 pm 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
@ 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 :o
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.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 21st, 2011, 6:27 am 
Offline
User avatar

Joined: September 5th, 2009, 2:06 pm
Posts: 1713
Location: Somewhere near you
Squish... :shock:
Need an opponent for this ---> C4 (Game with network capability)

_________________
Image
The quick onyx goblin jumps over the lazy dwarf


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: G. Sperotto and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group