|
Qix
Apr 16, 2013 8:06:49 GMT 1
Post by Pjot on Apr 16, 2013 8:06:49 GMT 1
All, I quickly made this game which I enjoyed playing in the 80's. Hope you enjoy it as much as I do. Qix with HUGI had to optimize the drawing functions in HUG to achieve a better performance. So please use HUG 0.85 to compile the game. Best regards Peter FYI: as I am traveling, response may come slow. I will be back by the end of next week. Attachments:
|
|
|
Qix
Apr 17, 2013 9:52:19 GMT 1
Post by linuph on Apr 17, 2013 9:52:19 GMT 1
|
|
|
Qix
Apr 18, 2013 19:32:04 GMT 1
Post by Pjot on Apr 18, 2013 19:32:04 GMT 1
Strange? My uncompressed executable on a 32-bit EEEPc is 206236 bytes.
Does the program work after first compilation?
Grt, Peter
|
|
|
Qix
Apr 18, 2013 19:44:44 GMT 1
Post by vovchik on Apr 18, 2013 19:44:44 GMT 1
Dear guys,
My UPX'd binary is 24k. There must be something wrong with your compile, linuph. And you cannot really do this:
upx qix.bac
You usually UPX the binary after running "bacon qix". I suspect UPX was not invoked on the proper file, since UPX does not know anything about "bac" files. If other programs worked, this one should too.
With kind regards, vovchik
|
|
2lss
Full Member
Posts: 140
|
Qix
Apr 20, 2013 17:34:37 GMT 1
Post by 2lss on Apr 20, 2013 17:34:37 GMT 1
Peter, The game looks nice but I'm either not playing it right or there is something wrong. Basically the little blue ball follows the same path constantly, no matter if I hit it with the red pad or not. I also don't loose any lives if I miss, or gain any points if I hit it. I've never played it before so maybe I am doing something wrong.... EDIT: It is also is using approximately 25% percent of the cpu, which seems a little high. Maybe thats related to the problem. I'm using hug 0.85. Attachments:
|
|
|
Qix
Apr 20, 2013 21:02:39 GMT 1
Post by Pjot on Apr 20, 2013 21:02:39 GMT 1
Hi 2lss, The goal of the game is to gain 75% of the surface and not to hit or get hit by the blue ball (the "qix"). If you have reached the 75 percent, the next level will start where there are 2 qixes, etc. Please also see here for more details. The 25% of CPU load already is quite low. On my PC it takes over 30%. As mentioned, GTK is not a gaming platform, so I guess a port to OpenGL may take less CPU. BR, Peter
|
|
2lss
Full Member
Posts: 140
|
Qix
Apr 22, 2013 7:39:53 GMT 1
Post by 2lss on Apr 22, 2013 7:39:53 GMT 1
Ok, I didn't realize that you had to go up and down as well as left and right. Now that I understand how to play it seems pretty fun. I'll be waiting for space invaders next. ;D
On a side note, I wonder if clutter would work now that bacon has PRAGMA? That might be better than opengl.
|
|
Deleted
Deleted Member
Posts: 0
|
Qix
Apr 22, 2013 16:37:05 GMT 1
Post by Deleted on Apr 22, 2013 16:37:05 GMT 1
Until Peter posts that for you, I have something in ScriptBasic that will occupy your time. If you get bored with that game there are a few others you can try. ScriptBasic GamesScriptBasic now does multi-threading with shared variable support and it might be fun to see if it could be used in the PAC-BOY game where the flame heads could run in a separate thread. For those who can't stand the thought of using Windows ... (there is Wine)
|
|
|
Qix
Apr 22, 2013 19:21:17 GMT 1
Post by alexfish on Apr 22, 2013 19:21:17 GMT 1
There's a thought sudo apt-get install pacman that was easy Though hannah is more fun Have fun alexfish
|
|
Deleted
Deleted Member
Posts: 0
|
Qix
Apr 22, 2013 19:34:42 GMT 1
Post by Deleted on Apr 22, 2013 19:34:42 GMT 1
Looks good, were can I find the traditional BASIC code for that game?
|
|
Deleted
Deleted Member
Posts: 0
|
Qix
Apr 22, 2013 20:45:07 GMT 1
Post by Deleted on Apr 22, 2013 20:45:07 GMT 1
There are thousands of native written games for Linux and here is one that I like.
|
|
|
Qix
Apr 22, 2013 22:46:00 GMT 1
Post by konaexpress on Apr 22, 2013 22:46:00 GMT 1
I'll be waiting for space invaders next. ooooowwwwww, that would be nice. I would try and do the graphics for that game or for a nice 1984 type of shooter game. That would be really fun I think.
|
|
|
Qix
Apr 22, 2013 22:49:08 GMT 1
Post by alexfish on Apr 22, 2013 22:49:08 GMT 1
Looks good, were can I find the traditional BASIC code for that game? I think where getting a little off beat with Qix but, can look at this , just for fun though. BR Alex Attachments:
|
|
Deleted
Deleted Member
Posts: 0
|
Qix
Apr 22, 2013 23:46:01 GMT 1
Post by Deleted on Apr 22, 2013 23:46:01 GMT 1
Second request!Alex, You have a bad habit of taking threads off topic out of anger or I don't know why. I responded with game code in BASIC that is 90% or better compatible with BaCon. You post some silly game written in whatever because you have nothing better to say. Mom use to say ... If you don't have anything worthwhile to contribute, shut the fu*k up.
|
|
|
Qix
Apr 23, 2013 1:07:56 GMT 1
Post by alexfish on Apr 23, 2013 1:07:56 GMT 1
Hi John I had download the pacboy from your site , look at the contents of the package , yes there is basic code in it , but the dll's and modules etc etc are for a windows platform . so did some ground work on how could this be achieved in linux using BaCon to cut some of the story short , searches led me to this site www.basic4gl.net/index.php?page=Tutorial&tutorial=Introduction+to+OpenGL&subpage=1the linking factor was the name PETER WIRBELAUER others led me to some tutorials in open gl very interesting , as to what I was was posting , trying to get same manipulation through LIBRSVG via BaCon code , since librsvg uses very similar command structures , so in that sense there has to be a common link , so still Researching. HTH + Kind Regards Alex Mum does not use certain phrases
|
|