AutoHotkey Community

It is currently May 26th, 2012, 2:31 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: January 22nd, 2009, 7:38 am 
Offline

Joined: August 20th, 2008, 4:25 pm
Posts: 256
Tseik wrote:
i will make it if someone just could provide me this little function:

Code:
MakeGame(MMO, CrysisEngine, StoryByPeterJackson, FutureGameRating=10/10)



Code:
MakeGame(MMO, CrysisEngine, StoryByPeterJackson, FutureGameRating=10/10)

MakeGame(type, engine, concept, rating)
If engine = CrysisEngine
 PromoteVistaWithDX10 = 1
Else
 LessDetailsAndQuality = 1

If rating > 9
 GoSub SponsorMagazines
Else
{
random, rating, 1, 6
rating = %rating%
}
return

SponsorMagazines:
EnvAdd, IGNBankAccount, 10000

_________________
-Chavez.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2009, 9:49 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
Slanter wrote:
I've got it... Duck Hunt!


do i have to make a pistol? =D

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2009, 9:51 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
@Chavez:
lol, nice psuedo, dude! :wink:

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2009, 1:17 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
do a duck hunt! i loved that game.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2009, 1:21 pm 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
I`ll try it.. =P cant promise that it`ll be any good!

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2009, 5:36 pm 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
Now i know, I am going make a tank game! 8)
Sorry guys, no ducks this time! :shock:

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2009, 6:29 pm 
Offline

Joined: January 12th, 2008, 7:45 pm
Posts: 131
You could do a 2D fightning game...

Image
I did that in AHK... Was suppose to be a MMORPG, but I quit after making the physics/animation for movement in the game (yes, actual physics calculations), because the lack of arrays and a few other functions (also lost the will of completing the game), I figured I should wait for Iron AHK, but then I decided to "quit" AHK and move on to a more low level language...

It is possible to do the game in AHK, but atm I don't feel like completing it...

Good luck with your game!


EDIT:
Tseik wrote:
Now i know, I am going make a tank game! 8)
Sorry guys, no ducks this time! :shock:


Seems, like I was too late, but ah well, good luck.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2009, 5:41 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
Ice_Tea wrote:
...because the lack of arrays....

Yes, its a big minus.. :?

Physics are an ass to do, i just made one parabola movement to an object,
So now my tank can shoot any ahk control, buttons, text and so on.. even listviews.. :lol:

Now i also have a name for my tankgame:
The Insane Adventures of The MightyTank 8)

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2009, 4:26 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
When you do graphics and animation with AHK how do you do it? Can you show an example of a script that uses graphics instead of a regular GUI?

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2009, 5:41 pm 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
Frankie,

The best way to draw graphics with AHK is by using GDI+. Luckily, there are a lot of functions already available to make working with GDI+ quite simple.

I'd suggest checking out something like this great lib:
GDI+ Standard Library by tic

You could draw a Gui element with AHK, add graphics or color to it with GDI+, and them move the element using a timer or loop.

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2009, 5:44 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
Thank you. That would have been my best guess. Ill play with it some and see if I can make a game.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2009, 12:13 am 
A game named RTFM! A newb trying to identify commands, to find supporters (no, not me again!), the holy grail (the manual), the holy land (the forum) ... the one and only truth - AHK!! :wink::D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2009, 12:21 am 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
lol

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2009, 5:18 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
:lol: :P

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2009, 5:21 am 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
So hows The Insane Adventures of The MightyTank comming? Can you post the code(or a screen shot)? Im interested in seeing what you mean by:
Quote:
So now my tank can shoot any ahk control, buttons, text and so on.. even listviews

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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