Code a game comp - REBOOT - Mar 10th to May 10th 2020

Started by Qube, March 10, 2020, 18:31:34

Previous topic - Next topic

Xerra

Quote from: MrmediamanX on May 14, 2020, 07:32:08
at least I can debug while taking dump though so that's a plus.

Oh, man. That gave me a giggle this morning :-)
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

MrmediamanX

#226
This thing is tiny ... looking into getting the GPDwin MAX or the [all in one] if it gets crowd funded.
It's a thing that doe's when it don't..

Steve Elliott

Quote
Yes.  It does amuse me when users run a windows build under emulation in linux and then submit bug reports.

I too have also found using my friends eye glasses causes my eyes to hurt so I'm going to complain to their optometrist about them ;-)

Haha, indeed.  Some people hate Windows which is fine, MacOS and Linux are generally nicer to use than Windows 10, but gaming is largely centered around Windows and everything works well for games - and we're producing and playing games here.  A few people here are using running Windows under emulation and worse some are using underpowered systems and emulation - then screaming at Windows!  No it's your own fault, people with proper PC's have no such issues.

Quote
Then that's just a difference of opinion. Sure, you don't like the idea that I'm running these games on Parallels but there's no point me going out to buy a PC I don't want just to play them, when Parallels works.

No it's not, you say it's too slow so you're unable to shoot quick enough, when it's your laggy emulated system that's causing the problem.  I wonder if delta time is working correctly though.  Well your stick computer running parallels clearly doesn't work now does it?  Slow and laggy and no sound on some games - that you're now judging.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Derron

Emulation systems sometimes also expose flaws in your game (eg if they "bend" the rules which are tolerated on Windows but not if your emulation behaves strictly according to some definitions). Rare but sometimes...

If other games (more "requiring ones") work well in a virtual system the Delta Timing you mentioned might indeed be the culprit: it just might not exist. We saw a lot of games here which just relied on 60 fps (or some even on 144). If they do not do proper delta timing then it is their fault. Virtual Computers (with the option to "emulate slow computers") can help spotting them. Just to say "the others run non-virtual Windows and it works there" can work if the amoun of "the others" is high enough. With less luck "the others" just run more potent computers. Yet most of our games should just work on _any_ 2010 or newer computer. Even with "igp" (Intel HD 3000 or something) it should work. But you know ... home devs can become lazy as soon as it "works on their computer". People using "frameworks" (AGK or so) migh benefit from the graphics/audio/...stuff already being kind of optimized for them.

@Xerra
Why parallels and not wine?


bye
Ron

iWasAdam

Validius work much better with a game pad :)

Although with a bit of work could be made to work well with a keyboard.

AS for the emulation/real. I use both! But Derron points out a valid thing about emulating windows/linux, etc. If it breaks with these, then there is usually something wrong going on...


Steve Elliott

#230
Quote
Validius work much better with a game pad :)

Cool, but I've mislaid my XBox Controller so all I have to test on is a SNES-type gamepad I use on the pi lol.  Not the type of controller Xerra had in mind I'm sure.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

3DzForMe

My daughter has the current hi-score on Validius, great game.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Xerra

Quote from: 3DzForMe on May 14, 2020, 21:34:23
My daughter has the current hi-score on Validius, great game.

Love this. Does she like the game? Makes me tingle when I know people have played and like the simple games I create. Someone gave me £2 for it the other day but I'd rather they just left me a nice comment. Means a lot more :)
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

Xerra

Quote from: Steve Elliott on May 14, 2020, 08:26:42
No it's not, you say it's too slow so you're unable to shoot quick enough, when it's your laggy emulated system that's causing the problem.  I wonder if delta time is working correctly though.  Well your stick computer running parallels clearly doesn't work now does it?  Slow and laggy and no sound on some games - that you're now judging.

No, Steve. I said the firing is fine, as is everything else moving around. I felt the ship in the game just moved too slow for me. And I do believe it's coded to be that slow, rather than a timing issue. Basically, it's just my opinion, and not a fault of the game, the author, my system or anything else.
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

Steve Elliott

#234
Quote
I felt the ship in the game just moved too slow for me.

That's just it, it doesn't though.  Maybe it's your system or a problem with delta timing, but it moves at a similar speed to your game - maybe a bit slower.

Let me just re-try them both...

ok after a re-run yours does seem twice the speed, but Asterocks is still very responsive.  The only problem I have with it the shield up and down keys being too far away from the arrow keys, which causes a quick end to a game.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Xerra

Quote from: Steve Elliott on May 14, 2020, 17:19:35
Quote
Validius work much better with a game pad :)

Cool, but I've mislaid my XBox Controller so all I have to test on is a SNES-type gamepad I use on the pi lol.  Not the type of controller Xerra had in mind I'm sure.

Yep, it's not. I'm doubtful it will actually work using that either as I'm using functions that are reading the input from the dual sticks. How they get interpreted in the code is a value between 1 and -1 for each of the sticks. If left stick is on 0.92, for example, then it's pushed forward a fair way whereas if it's -0.23 then it's moved back slightly from the rest position. As your pad is probably just a button controller then the only input is probably either true/false. Be interesting if it does have some kind of effect but as the ship movement speed is based on gradually increasing speed based on how far the sticks are pushed then it would probably be either full speed or nothing, if it gave any input at all.

Please let me know, regardless. I've got a couple of simple button controllers for my Raspberry here that I will look into adding into the gamepad function for future games. I probably should have thought of this earlier :)

Failing this there are two keyboard control options built in and diagonal keys will help a bit with either mode, not to mention you use the mouse to control the turret directional fire, which does make things a bit easier for that side anyway. I keep moaning about how I was never really satisfied with how i did the controls but time limits are time limits. The blame is all me because I decided quite late in the day that I didn't like how slow the original game played so ramped the ship AI right up and increased the speed on everything without thinking about control issues being a problem.

M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

Xerra

Quote from: Steve Elliott on May 14, 2020, 22:23:20
Quote
I felt the ship in the game just moved too slow for me.

That's just it, it doesn't though.  Maybe it's your system or a problem with delta timing, but it moves at a similar speed to your game - maybe a bit slower.

Ok then it's just a preference on my part. I felt it should move quicker than it does. I'm obviously in the minority. I don't want to come across as having a problem with the game in general, as it's a nice asteroids game. Just feedback is basically what your opinion is and that was one of mine.

The ship in Validius doesn't move that slow.... except maybe it does using keyboard. Gamepad is just fine. Again, my fault.

M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

Steve Elliott

#237
Quote
Validius work much better with a game pad :)

Cool, but I've mislaid my XBox Controller so all I have to test on is a SNES-type gamepad I use on the pi lol.  Not the type of controller Xerra had in mind I'm sure.

Yep, it's not. I'm doubtful it will actually work using that either as I'm using functions that are reading the input from the dual sticks.

Yes it just moves up and down the menus and changes selections - you can't actually start the game with a pad of that sort.

Quote
Ok then it's just a preference on my part.

lol I re-compared the 2 and updated my post.  You originally seemed to be saying it's unplayably slow so I disagreed.  Your version is twice as fast but Asterocks is still very responsive, although I too like a faster response to my controls on an asteroids type game.  As you say it's a personal preference.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

3DzForMe

Quote
ok after a re-run yours does seem twice the speed, but Asterocks is still very responsive.  The only problem I have with it the shield up and down keys being too far away from the arrow keys, which causes a quick end to a game

There is shields as well - note to self - read game instructions  ;D
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Imerion

I just posted a small bugfix release for Tiny Tales 2.

Version 1.0.1:
- Fixed a few enemies standing above the ground.
- Made some improvements to the MacOS build as per feedback (thanks!).

Can be found on the usual page: https://gamejolt.com/games/tinytales2/495187