 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Thu Mar 13, 2008 6:46 pm Post subject: Blueman Shoot v1.3.10 (Game) |
|
|
Blueman shoot is a singelplayer 2D shoot'em up game
new blueman shoot is out
v1.3.10
DataFiles: http://www.autohotkey.net/~imapow/bms%20v1.3.10.zip
| Code: |
; ØØØØØØ ØØ
; ØØ ØØ ØØ
; ØØ ØØ ØØ ØØ ØØ ØØØØØ ØØØØØØ ØØØØ ØØØØØ ØØØØØØ
; ØØØØØØ ØØ ØØ ØØ ØØ ØØ ØØØ ØØØ ØØ ØØØ ØØØ ØØØ ØØ
; ØØ ØØ ØØ ØØ ØØ ØØØØØØ ØØ ØØ ØØ ØØ ØØ ØØ ØØ
; ØØ ØØ ØØ ØØ ØØ ØØ ØØ ØØ ØØ ØØØ ØØØ ØØ ØØ
; ØØØØØØ ØØØ ØØØØØ ØØØØØ ØØ ØØ ØØ ØØØØØ ØØ ØØ ØØ
;
; ØØØØØ ØØ ØØ
; ØØ ØØ ØØ ØØ
; ØØ ØØ ØØØ ØØØØØØ ØØØØØØ ØØØØØ
; ØØØØØ ØØØØ ØØ ØØØ ØØØ ØØØ ØØØ ØØ
; ØØ ØØ ØØ ØØ ØØ ØØ ØØ ØØ
; ØØ ØØ ØØ ØØ ØØØ ØØØ ØØØ ØØØ ØØ
; ØØØØØ ØØ ØØ ØØØØØØ ØØØØØØ ØØØ
;
;
; ØØØØØØØ
; ØØØØØØØ
; ØØØ ØØØ ØØØØØØØ
; ØØØØØ ØØØØØ ØØØØØØØ ØØØØ
; ØØØ ØØØ ØØØØØØØØØØØØØØØØØØØØØØØ
; ØØØØØØØØØØØØØØØØØØØØ
; AutoHotkey V: 1.0.47.06 ØØØØØØØØ ØØØØ
; Language: English/Norwegian ØØØØØØØØ ØØØØ
; Platform: WinVista ØØØØØØØØ ØØØØ
; Author: Imapow ØØØØØØØØØØØ
; Name: Blueman Shoot ØØØØØ ØØØØØ
; version: 1.3.10 ØØØØ ØØØØ
; ØØØØ ØØØØ
; ØØØØØ ØØØØØ
; ØØØØØØ ØØØØØØ
;///////////////////////// menu /////////////////////////
menu, filemenu, add, New Game, start
menu, filemenu, add,
menu, filemenu, add, Exit, exit
menu, helpmenu, add, About, about
menu, helpmenu, add, Help, help
menu, menubar, add, File, :filemenu
menu, menubar, add, Help, :helpmenu
;///////////////////////// vars /////////////////////////
sjyter = n
pause = 0
loading = 0
spot = %a_scriptdir%\data\bg.PNG
mann = %a_scriptdir%\data\blueman.PNG
fiende = %a_scriptdir%\data\redman.PNG
skudd = %a_scriptdir%\data\bullet.PNG
frame = %a_scriptdir%\data\frame.PNG
fiendespeed = 250
fiendespeedred = 3
skuddspeed = 30
skuddlengde = 10
;///////////////////////// gui create /////////////////////////
gui, color, 000000
gui, font, c6666ff , Arial Black
gui, 2:-caption +toolwindow
gui, 2:color, 000000
gui, 2:font, c6666ff s22, Arial Black
gui, 2:add, text,x+10,Press space to start
gui, 3:-caption +toolwindow
gui, 3:color, 000000
gui, 3:font, c6666ff s22, Arial Black
gui, 3:add, text,x+10 ,Game over
gui, 3:add, text, xm+10, You got
gui, 3:add, text, w100 x+30 vpoints,
gui, 3:add, text, x+0,points
gui, 3:add, text,xm+10 ,Press space to try agein
gui, 4:-caption +toolwindow
gui, 4:color, 000000, 6666ff
gui, 4:font, c6666ff s22, Arial Black
gui, 4:add, text, x110,LOADING
gui, 4:add, picture, xm+0 w334 h2, %frame%
gui, 4:add, picture, w2 h15 xm+0 y+0, %frame%
gui, 4:add, picture, x+0, %mann%
gui, 4:add, picture, x+0 vload0 ,%skudd%
loop, 19
gui, 4:add, picture, x+0 vload%a_index% ,%spot%
gui, 4:add, picture, x+0 , %fiende%
gui, 4:add, picture, h15 w2 x+0, %frame%
gui, 4:add, picture, h2 w334 xm+0 y+0, %frame%
gui, 4:show
gui, 5:-caption +toolwindow
gui, 5:color, 000000
gui, 5:font, c6666ff s32, Arial Black
gui, 5:add, text,, PAUSE
;///////////////////////// battlefeald maker /////////////////////////
gui, menu, menubar
gui, add, picture, w604 h2, %frame%
gui, add, picture, xm+0 y+0 w2 h304, %frame%
gui, add, picture, x+0 ym+5 v1x1, %spot%
loop, 39
{
bb := a_index + 1
gui, add, picture, x+0 v1x%bb% ,%spot%
}
loop, 19
{
hb := a_index + 1
gui, add, picture, xm+2 y+0 v%hb%x1, %spot%
loop, 39
{
bb := a_index + 1
gui, add, picture, x+0 v%hb%x%bb% ,%spot%
}
gosub, loading
}
gui, add, picture, x+0 ym+0 w2 h304, %frame%
gui, add, picture, xm+0 y+0 w604 h2, %frame%
gui, add, text, xm+30, You have
gui, add, text, vpointz w20 x+30,0
gui, add, text, x+10, points
gui, 4:hide
gui, show
gui, 2:show
return
loading:
guicontrol, 4:, load%loading%, %spot%
loading += 1
guicontrol, 4:, load%loading%, %skudd%
return
;///////////////////////// random placement of players /////////////////////////
space::
start:
guicontrol,, %nhb%x%nbb%, %spot%
guicontrol,, pointz, 0
random, nhb, 1, 20
random, nbb, 1, 40
guicontrol,, %nhb%x%nbb%, %mann%
guicontrol,, %nfhb%x%nfbb%, %spot%
random, nfhb, 1, 20
random, nfbb, 1, 40
guicontrol,, %nfhb%x%nfbb%, %fiende%
points = 0
gui, 2:hide
gui, 3:hide
fiendespeed = 250
settimer, fiendemove, %fiendespeed%
gosub, ijkl_on
gosub, wasd_on
return
;///////////////////////// pause /////////////////////////
p::
if pause = 0
{
pause = 1
gui, 5:show
settimer, fiendemove, off
gosub, wasd_off
gosub, ijkl_off
}
else
{
pause = 0
gui, 5:hide
settimer, fiendemove, on
gosub, wasd_on
gosub, ijkl_on
}
return
;///////////////////////// game over /////////////////////////
gameover:
gosub, wasd_off
gosub, ijkl_off
settimer, fiendemove, off
guicontrol,, %nfhb%x%nfbb%, %spot%
gui, 3:show
guicontrol, 3:, points, %points%
return
;///////////////////////// about /////////////////////////
about:
gui, 4:add, text,,
(
blueman shoot i an 2D shoot'em upp
game made by imapow the point is to
shoot the red man woithout him tushing you
)
gui, 4:add, button,w180, ok
gui, 4:show
return
4buttonok:
4guiclose:
Gui Destroy
return
;///////////////////////// help /////////////////////////
help:
gui, 5:add, text,,
(
the game i easy shoot the red man
witout tutshing him
controls:
space - start
p - pause
w - move upp
a - move left
s - move down
d - move rigth
i - shoot upp
j - shoot left
k - shoot down
l - shoot rigth
)
gui, 5:add, button,w180, ok
gui, 5:show
return
5buttonok:
5guiclose:
Gui Destroy
return
;///////////////////////// move blueman /////////////////////////
w::
gosub, wasd_off
if nhb = 1
goto, wasd_on
guicontrol,, %nhb%x%nbb%, %spot%
nhb-=1
guicontrol,, %nhb%x%nbb%, %mann%
gosub, wasd_on
gosub, redmansheck
return
s::
gosub, wasd_off
if nhb = 20
goto, wasd_on
guicontrol,, %nhb%x%nbb%, %spot%
nhb+=1
guicontrol,, %nhb%x%nbb%, %mann%
gosub, wasd_on
gosub, redmansheck
return
a::
gosub, wasd_off
if nbb = 1
goto, wasd_on
guicontrol,, %nhb%x%nbb%, %spot%
nbb-=1
guicontrol,, %nhb%x%nbb%, %mann%
gosub, wasd_on
gosub, redmansheck
return
d::
gosub, wasd_off
if nbb = 40
goto, wasd_on
guicontrol,, %nhb%x%nbb%, %spot%
nbb+=1
guicontrol,, %nhb%x%nbb%, %mann%
gosub, wasd_on
gosub, redmansheck
return
wasd_off:
hotkey, w, off
hotkey, a, off
hotkey, s, off
hotkey, d, off
return
wasd_on:
hotkey, w, on
hotkey, a, on
hotkey, s, on
hotkey, d, on
return
redmansheck:
if nbb = %nfbb%
{
if nhb = %nfhb%
goto, gameover
}
return
;///////////////////////// shoot /////////////////////////
i::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nshb -=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
gosub, hittsheck
}
sjyter = n
}
return
j::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nsbb -=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
gosub, hittsheck
}
sjyter = n
}
return
k::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nshb +=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
gosub, hittsheck
}
sjyter = n
}
return
l::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nsbb +=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
gosub, hittsheck
}
sjyter = n
}
return
ijkl_off:
hotkey, i, off
hotkey, j, off
hotkey, k, off
hotkey, l, off
return
ijkl_on:
hotkey, i, on
hotkey, j, on
hotkey, k, on
hotkey, l, on
return
hittsheck:
if nsbb = %nfbb%
{
if nshb = %nfhb%
goto, hitt
}
return
;///////////////////////// hitt /////////////////////////
hitt:
sjyter = n
fiendespeed -=%fiendespeedred%
settimer, fiendemove, %fiendespeed%
points+=1
guicontrol,, pointz, %points%
guicontrol,, %nfhb%x%nfbb%, %spot%
random, nfhb, 1, 20
random, nfbb, 1, 40
guicontrol,, %nfhb%x%nfbb%, %fiende%
return
;///////////////////////// enemy AI /////////////////////////
fiendemove:
hbdiff = %nfhb%
hbdiff-=%nhb%
bbdiff = %nfbb%
bbdiff-=%nbb%
gosub, redmansheck
if hbdiff > 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfhb = 1
return
nfhb-=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
gosub, redmansheck
}
if hbdiff < 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfhb = 20
return
nfhb+=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
gosub, redmansheck
}
if bbdiff > 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfbb = 1
return
nfbb-=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
gosub, redmansheck
}
if bbdiff < 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfbb = 40
return
nfbb+=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
gosub, redmansheck
}
return
;///////////////////////// exit /////////////////////////
guiclose:
exit:
|::
exitapp |
Old versjon
| Quote: |
DataFiles: http://www.autohotkey.net/~imapow/blueman%20shoot%201.1.zip
| Code: |
;
; AutoHotkey Version: 1.0.47.04
; Language: English/Norwegian
; Platform: WinXp
; Author: Imapow
;
;/////////////////////////////////////////// menu ///////////////////////////////////////////
menu, filemenu, add, Start, start
menu, filemenu, add,
menu, filemenu, add, Exit, exit
menu, helpmenu, add, About, about
menu, helpmenu, add, Help, help
menu, menubar, add, File, :filemenu
menu, menubar, add, Help, :helpmenu
;/////////////////////////////////////////// vars ///////////////////////////////////////////
sjyter = n
spot = %a_scriptdir%\data\spot.bmp
mann = %a_scriptdir%\data\mann.bmp
fiende = %a_scriptdir%\data\fiene.bmp
skudd = %a_scriptdir%\data\skudd.bmp
fiendespeed = 250
skuddspeed = 30
skuddlengde =10
;/////////////////////////////////////////// gui create ///////////////////////////////////////////
gui, color, 000000
gui, font, c00ff00 , Arial Black
gui, 2:-caption +toolwindow
gui, 2:color, 000000
gui, 2:font, c0000ff s32, Arial Black
gui, 2:add, text,x+10,Press space to start
gui, 3:-caption +toolwindow
gui, 3:color, 000000
gui, 3:font, c0000ff s32, Arial Black
gui, 3:add, text,x+10 ,Game over
gui, 3:add, text, xm+10, You got
gui, 3:add, text, w100 x+30 vpoints,
gui, 3:add, text, x+0, points
gui, 3:add, text,xm+10 ,Press space to try agein
;/////////////////////////////////////////// battlefeald maker ///////////////////////////////////////////
gui, menu, menubar
loop, 20
{
hb=%a_index%
gui, add, Picture,xm+0 y+0 v%hb%x1,%spot%
loop, 39
{
bb=%a_index%
bb+=1
gui, add, Picture,x+0 v%hb%x%bb% ,%spot%
}
}
gui, add, text, xm+30, You have
gui, add, text, vpointz w20 x+30,0
gui, add, text, x+10, points
gui, show
gui, 2:show
return
;/////////////////////////////////////////// random placement of players ///////////////////////////////////////////
space::
start:
guicontrol,, %nhb%x%nbb%, %spot%
random, nhb, 1, 20
random, nbb, 1, 40
guicontrol,, %nhb%x%nbb%, %mann%
guicontrol,, %nfhb%x%nfbb%, %spot%
random, nfhb, 1, 20
random, nfbb, 1, 40
guicontrol,, %nfhb%x%nfbb%, %fiende%
points = 0
gui, 2:hide
gui, 3:hide
settimer, fiendemove, %fiendespeed%
return
;/////////////////////////////////////////// game over ///////////////////////////////////////////
gameover:
settimer, fiendemove, off
gui, 3:show
guicontrol, 3:, points, %points%
return
;/////////////////////////////////////////// about ///////////////////////////////////////////
about:
gui, 4:add, text,,
(
blueman shoot i an 2D shoot'em upp
game made by imapow the point is to
shoot the red man woithout him tushing you
)
gui, 4:add, button,w180, ok
gui, 4:show
return
4buttonok:
4guiclose:
Gui Destroy
return
;/////////////////////////////////////////// help ///////////////////////////////////////////
help:
gui, 5:add, text,,
(
the game i easy shoot the red man
witout tutshing him
controls:
space - start
w - move upp
a - move left
s - move down
d - move rigth
i - shoot upp
j - shoot left
k - shoot down
l - shoot rigth
)
gui, 5:add, button,w180, ok
gui, 5:show
return
5buttonok:
5guiclose:
Gui Destroy
return
;/////////////////////////////////////////// move blueman ///////////////////////////////////////////
w::
guicontrol,, %nhb%x%nbb%, %spot%
if nhb = 1
return
nhb-=1
guicontrol,, %nhb%x%nbb%, %mann%
return
s::
guicontrol,, %nhb%x%nbb%, %spot%
if nhb = 20
return
nhb+=1
guicontrol,, %nhb%x%nbb%, %mann%
return
a::
guicontrol,, %nhb%x%nbb%, %spot%
if nbb = 1
return
nbb-=1
guicontrol,, %nhb%x%nbb%, %mann%
return
d::
guicontrol,, %nhb%x%nbb%, %spot%
if nbb = 40
return
nbb+=1
guicontrol,, %nhb%x%nbb%, %mann%
return
;/////////////////////////////////////////// shoot ///////////////////////////////////////////
i::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nshb -=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
if nsbb = %nfbb%
{
if nshb = %nfhb%
goto, hitt
}
}
sjyter = n
}
return
j::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nsbb -=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
if nsbb = %nfbb%
{
if nshb = %nfhb%
goto, hitt
}
}
sjyter = n
}
return
k::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nshb +=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
if nsbb = %nfbb%
{
if nshb = %nfhb%
goto, hitt
}
}
sjyter = n
}
return
l::
if sjyter = n
{
sjyter = j
nshb = %nhb%
nsbb = %nbb%
loop, %skuddlengde%
{
nsbb +=1
guicontrol,, %nshb%x%nsbb%, %skudd%
sleep, %skuddspeed%
guicontrol,, %nshb%x%nsbb%, %spot%
if nsbb = %nfbb%
{
if nshb = %nfhb%
goto, hitt
}
}
sjyter = n
}
return
;////////////////////////////////////////// hitt ///////////////////////////////////////////
hitt:
sjyter = n
points+=1
guicontrol,, pointz, %points%
guicontrol,, %nfhb%x%nfbb%, %spot%
random, nfhb, 1, 20
random, nfbb, 1, 40
guicontrol,, %nfhb%x%nfbb%, %fiende%
return
;/////////////////////////////////////////// enemy AI ///////////////////////////////////////////
fiendemove:
hbdiff = %nfhb%
hbdiff-=%nhb%
bbdiff = %nfbb%
bbdiff-=%nbb%
if hbdiff > 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfhb = 1
return
nfhb-=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
if nbb = %nfbb%
{
if nhb = %nfhb%
goto, gameover
}
}
if hbdiff < 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfhb = 20
return
nfhb+=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
if nbb = %nfbb%
{
if nhb = %nfhb%
goto, gameover
}
}
if bbdiff > 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfbb = 1
return
nfbb-=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
if nbb = %nfbb%
{
if nhb = %nfhb%
goto, gameover
}
}
if bbdiff < 0
{
guicontrol,, %nfhb%x%nfbb%, %spot%
if nfbb = 40
return
nfbb+=1
guicontrol,, %nfhb%x%nfbb%, %fiende%
if nbb = %nfbb%
{
if nhb = %nfhb%
goto, gameover
}
}
return
;/////////////////////////////////////////// exit ///////////////////////////////////////////
guiclose:
exit:
|::
exitapp
|
|
the game is easy shoot the red man
without tutshing him
controls:
space - start
w - move up
a - move left
s - move down
d - move rigth
i - shoot up
j - shoot left
k - shoot down
l - shoot rigth _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.-
Last edited by imapow on Sun Jun 15, 2008 6:31 pm; edited 10 times in total |
|
| Back to top |
|
 |
ManaUser
Joined: 24 May 2007 Posts: 901
|
Posted: Thu Mar 13, 2008 8:55 pm Post subject: |
|
|
| Well... to be perfectly honest it's not a very fun game. But it's neat to see something like this made in AutoHotkey. |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Thu Mar 13, 2008 9:06 pm Post subject: |
|
|
Not fun..?
I know, but i'm making a game named blueman go.
It's going to be a Rpg based on the same look, my gole is to make a game half as good as Zelda1 for nintendo. _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
ManaUser
Joined: 24 May 2007 Posts: 901
|
Posted: Thu Mar 13, 2008 9:14 pm Post subject: |
|
|
I understand. As a demo, it's impressive. It definitely shows potential.
As far as bugs, the only one I noticed is that it will do some odd things if you shoot again before the last shot stops moving. You should probably disable shooting again until the last shot is finished. |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Thu Mar 13, 2008 9:23 pm Post subject: |
|
|
Yes.
- u can olsow run over "RedMan"
- and if you go to far to one side you get inviseble
working on it _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
CraSH23000
Joined: 22 Jun 2007 Posts: 38
|
Posted: Thu Apr 10, 2008 10:45 pm Post subject: data files |
|
|
The link to the data files is gone and this sounds interesting, I would like to see this. _________________ What is real in our infinitely alternating perception of reality? |
|
| Back to top |
|
 |
SoggyDog
Joined: 02 May 2006 Posts: 214 Location: Greeley, CO
|
Posted: Fri Apr 11, 2008 3:24 pm Post subject: |
|
|
I hadn't noticed this post before, but now that I have, I too would like the ZIP file to be live again so I can check this out.
Thanks - _________________
SoggyDog
Download AutoHotKey Wallpaper
Does 'Fuzzy Logic' tickle? |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Fri Apr 11, 2008 8:39 pm Post subject: |
|
|
my webhotell is down. i will put them on another webhotel ore ftpserver as soon as pasibule probably tomorw _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Sat Apr 12, 2008 12:32 pm Post subject: |
|
|
the datafiles is back and ready for download _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1205 Location: USA
|
Posted: Sat Apr 12, 2008 5:45 pm Post subject: |
|
|
Forbidden
You don't have permission to access /download/AHK/blueman_shoot.zip on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. _________________
 |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
|
| Back to top |
|
 |
Clash
Joined: 27 Jun 2006 Posts: 182
|
Posted: Wed Apr 16, 2008 5:32 pm Post subject: |
|
|
Would it be possible to play other people online. Wouldn't uploading data to a server be too slow, not sure how games do it. _________________
 |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Wed Apr 16, 2008 8:49 pm Post subject: |
|
|
don't know.
i kan experiment sending and reciving comands over irc that is preaty fast, isent it?
i am not that experienced in ahk so plece ccom with ideas. _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
IsNull
Joined: 10 May 2007 Posts: 64 Location: .switzerland
|
Posted: Thu Apr 17, 2008 11:46 am Post subject: |
|
|
For the online thing, you should use a TCP/IP connection. (Professional games use that too)
You could make the GUI much faster, if you using "ControlMove" and "ControlGetPos". I mean, don't create 39 * 20 picture controls but rather create only 3. One for the blue, 1 for the red and the last for the bullet.
Then move the picturecontrols.... u understand?
greetings
IsNull
btw: nice idea  _________________ http://securityvision.ch
 |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Fri Apr 18, 2008 10:54 am Post subject: |
|
|
yeah like
| Code: |
gui, 1:add, picture, "div blah", %a_scriptdir%\data\bg,pmg
gui, 2:add, picture, "div blah", %a_scriptdir%\data\redman.png
gui, 3:add, picture, "div blah", %a_scriptdir%\data\blueman.png
|
how do i code a tcp/ip app?
dos ahk have this? _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|