monoceres Posted March 9, 2008 Author Posted March 9, 2008 The "wall" problem is because of resolution, it works flawlessy on some resolutions and on other it crashes But hopefully I will be able to fix this. In the new version I'm working on background image is already implemented It looks really nice! Player names and colours are also being added although I don't know how to make it look good. I first tried using basic controls but after I used GUICtrlDelete() on them _IsPressed() doesn't work properly and there is a pling sound everytime a key is pressed, If anyone knows how to solve this it would greatly help me in adding a nice options interface Broken link? PM me and I'll send you the file!
monoceres Posted March 11, 2008 Author Posted March 11, 2008 New version! Background, sound and wall-bug killed. Even though no more crashes will occour the edge of the "game area" will not always be at the edge of the screen. The edges will be drawn in next release. Broken link? PM me and I'll send you the file!
AdmiralAlkex Posted March 11, 2008 Posted March 11, 2008 I still get this with latest version: Line 338 (File "C:\Documents and Settings\Ärkeskäggot\Skrivbord\autoiTRON.au3"): If $grid[Ceiling(($fx + ($size * $fxdir)) / $size) ][Ceiling(($fy + ($fydir * $size)) / $size) ] = True Then If ^ ERROR Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
monoceres Posted March 11, 2008 Author Posted March 11, 2008 Argh, and I who really thought I solved it... What resolution are running on? Broken link? PM me and I'll send you the file!
DW1 Posted March 11, 2008 Posted March 11, 2008 Bot could use some help, but besides that, it is very nice. Thanks for sharing. AutoIt3 Online Help
AdmiralAlkex Posted March 11, 2008 Posted March 11, 2008 myself said: Screen nr1= 0x0 to 1600x1200 (primary)Screen nr2= -1024x432 to 0x1200 (for those of you bad at math thats 1024*768) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
monoceres Posted March 11, 2008 Author Posted March 11, 2008 danwilli said: Bot could use some help, but besides that, it is very nice. Thanks for sharing.You're welcome and Congratulations for your 1000 post! Broken link? PM me and I'll send you the file!
buzonjl Posted March 14, 2008 Posted March 14, 2008 excusme but appears that i don have GDIplus.au3 in my system, why? i would have it? I use auto it 3, not beta. Where i found this file?
crashdemons Posted March 27, 2008 Posted March 27, 2008 (edited) Works - but, not having played a "Tron" game before, I'm not sure if it is working right... What's the goal of the game, run into the flat side of the opponent's line? (causes a win...? too easy/unavoidable?) I think I'm missing something Some things: -Selecting "Advanced Options" just starts a Single-Player game. -When playing a Single-Player game, the "Tron Bot" only goes straight. -When playing a Single-Player game, the controls do not respond (usually), instead you keep going straight. It's very cool though! Edited March 27, 2008 by crashdemons My Projects - WindowDarken (Darken except the active window) Yahsmosis Chat Client (Discontinued) StarShooter Game (Red alert! All hands to battlestations!) YMSG Protocol Support (Discontinued) Circular Keyboard and OSK example. (aka Iris KB) Target Screensaver Drive Toolbar Thingy Rollup Pro (Minimize-to-Titlebar & More!) 2D Launcher physics example Ascii Screenshot AutoIt3 Quine Example ("Is a Quine" is a Quine.) USB Lock (Another system keydrive - with a toast.)
Swift Posted March 27, 2008 Posted March 27, 2008 crashdemons said: Works - but, not having played a "Tron" game before, I'm not sure if it is working right...What's the goal of the game, run into the flat side of the opponent's line? (causes a win...? too easy/unavoidable?)I think I'm missing something Some things:-Selecting "Advanced Options" just starts a Single-Player game.-When playing a Single-Player game, the "Tron Bot" only goes straight.-When playing a Single-Player game, the controls do not respond (usually), instead you keep going straight.It's very cool though! If you play player1 vs tron bot, your controls are AWSD i belive..and if your 2 player, its up down left right.
monoceres Posted March 27, 2008 Author Posted March 27, 2008 Quote What's the goal of the game, run into the flat side of the opponent's line?It's the exact opposite Quote -Selecting "Advanced Options" just starts a Single-Player game.I know, shame on me.. I didn't have enough mental powers to finish the advanced options section Broken link? PM me and I'll send you the file!
i542 Posted March 27, 2008 Posted March 27, 2008 (edited) buzonjl said: excusme but appears that i don have GDIplus.au3 in my system, why? i would have it? I use auto it 3, not beta. Where i found this file?Download latest version of AutoIt v3 here and try again. GDIPlus.au3 file is included with AutoIt from version v3.2.9.3 in standard UDF library. Means: you can include it in your AutoIt file like this: #include <GDIPlus.au3> Edited March 27, 2008 by i486 I can do signature me.
Delta Posted March 27, 2008 Posted March 27, 2008 The bot don't work anymore it just goes up an left till it crashes. [size="1"]Please stop confusing "how to" with "how do"[/size]
monoceres Posted March 27, 2008 Author Posted March 27, 2008 Quote The bot don't work anymore it just goes up an left till it crashes.THe problem lies in different resolutions, I will probably make a window version so that the problem disapears Broken link? PM me and I'll send you the file!
monoceres Posted August 5, 2008 Author Posted August 5, 2008 New version! Total rewrite! See first post! Broken link? PM me and I'll send you the file!
DexterMorgan Posted August 5, 2008 Posted August 5, 2008 This is great I love it ....... The Bot is way to smart.. .you should make easy medium and hard.... code
TehWhale Posted August 5, 2008 Posted August 5, 2008 I like the newer version, but the game iniationation takes WAY too long. Like 25+ seconds just to get to the main menu?
DexterMorgan Posted August 5, 2008 Posted August 5, 2008 Alienware said: I like the newer version, but the game iniationation takes WAY too long. Like 25+ seconds just to get to the main menu?Yep, I second that.. Maybe a little faster... You dont really need the autoit logo , and developed in autoit... you can put that in credits I like the music too.. Its really nice =) And the credits effect.. code
monoceres Posted August 5, 2008 Author Posted August 5, 2008 Konstig said: This is great I love it .......The Bot is way to smart.. .you should make easy medium and hard....No way he's too smart... he's really dumb Alienware said: I like the newer version, but the game iniationation takes WAY too long. Like 25+ seconds just to get to the main menu?You can turn off the intro in options or press the spacebar anytime during the intro to skip it Broken link? PM me and I'll send you the file!
DexterMorgan Posted August 5, 2008 Posted August 5, 2008 monoceres said: No way he's too smart... he's really dumb You can turn off the intro in options or press the spacebar anytime during the intro to skip it Hes not exactly smart... The bot actually makes it seem as a bot.. (<- Stupidest thing ive ever said) ... It like gets really close to you and then one pixel away it moves then it goes all the way to the corner where you cant even see it... I dont see where im going with this so ill stop... lol code
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now