Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:18 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : NEW GAME - Donut Dilemma

     Page 2 of 3    
Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 03:05pm 17 Jan 2013
Copy link to clipboard 
Print this post

Do you have any links you would recommend?

...my old Turbo II is getting a bit tired after all these years... Edited by Grogster 2013-01-19
Smoke makes things work. When the smoke gets out, it stops!
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 03:47pm 17 Jan 2013
Copy link to clipboard 
Print this post


usa based

Aussie based

Hong Kong Based
Edited by djuqa 2013-01-19
VK4MU MicroController Units

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 04:07pm 17 Jan 2013
Copy link to clipboard 
Print this post

Ahhhh - I see - those things.

Yes, I could see them being useful in MM games.

With a little research, I found these ones for only $10 each...
Joystick
Smoke makes things work. When the smoke gets out, it stops!
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 04:17pm 17 Jan 2013
Copy link to clipboard 
Print this post

The ones from hong kong are stronger and cheaper , but both good.

VK4MU MicroController Units

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 04:26pm 17 Jan 2013
Copy link to clipboard 
Print this post

You are quite correct - but they won't ship to New Zealand.
Smoke makes things work. When the smoke gets out, it stops!
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 04:31pm 17 Jan 2013
Copy link to clipboard 
Print this post

Sorry Didn't realise you lived in KiwiLand

VK4MU MicroController Units

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 04:35pm 17 Jan 2013
Copy link to clipboard 
Print this post

I do like the look of the ones in China.

Surprised they don't ship here actually.
NZ has a trade agreement with China, so it really should be no problem.
I could send them a message, I suppose.
Smoke makes things work. When the smoke gets out, it stops!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 04:44pm 17 Jan 2013
Copy link to clipboard 
Print this post

Found a nice metal shafted one and a set of eight coloured buttons on NZ's TradeMe website. That's our version of ebay, really.

A little more expensive at $18 for the joystick then the ebay offerings, but then, I can get them here in a couple of days over having to wait about a month for things to arrive from China, or paying about US$50 for DHL or FedEx...

Looks like I am making a joystick then...
Smoke makes things work. When the smoke gets out, it stops!
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 05:18pm 17 Jan 2013
Copy link to clipboard 
Print this post

  Grogster said   Found a nice metal shafted one and a set of eight coloured buttons on NZ's TradeMe website. That's our version of ebay, really.

A little more expensive at $18 for the joystick then the ebay offerings, but then, I can get them here in a couple of days over having to wait about a month for things to arrive from China, or paying about US$50 for DHL or FedEx...

Looks like I am making a joystick then...


I was a little amazed that you said sellers don't ship from HK (China) to NZ, so I went and did my own search, and found Chinese Ebay sellers don't seem to want to know about NZ.

Also checked AU ebay sites for a similar item, and they all only ship to AU.

Seems crazy. Didn't realize how well off we are to be getting free postage to AU. My theory has always been that the Chinese govt. subsidizes shipping on all manufactured goods to AU and the US. Obviously NZ is not on the free list for some reason.

Don...




https://www.dontronics.com
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 05:28pm 17 Jan 2013
Copy link to clipboard 
Print this post

Yeah, not sure what that is about Don.
I know that New Zealand DOES have a trade agreement with China, so there should not be any issue with any Chinese trader sending stuff here.

Most Chinese traders seem to be fine sending stuff here - this one was the first one I found where they would not.


Smoke makes things work. When the smoke gets out, it stops!
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 05:49pm 17 Jan 2013
Copy link to clipboard 
Print this post

Don
1/ The chinese government does not subsidize postage, that is their standard rate.
2/ I know exactly why suppliers (including a couple I have worked for) will NOT send to Kiwiland. FRAUD! the level of "I didn't receive", "Not what I ordered" is several times the average for other destinations. SAD but true.
I regularly have to send stuff to a good mate in Napier that has trouble getting stuff sent to him and his work and he works for the Government.

VK4MU MicroController Units

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 05:58pm 17 Jan 2013
Copy link to clipboard 
Print this post

WOW!

That I did NOT know.

When I order from overseas, I always like to use DHL or FedEx if I can.
Relatively expensive, but with full international tracking, parcels can't get lost, and if they do, FedEx et el will refund you, so it is much harder with these freight methods to actually screw the seller by saying "It never arrived".

However, I can only speak for myself, and I always complete deals quickly and actually READ the flippin' auction, so I don't tend to have any issues with anything I buy, provided you can get them to send it off in the first place.

That's a problem with any mail-based service I guess - and there are ALWAYS people who will be there to milk it for all they can.Edited by Grogster 2013-01-19
Smoke makes things work. When the smoke gets out, it stops!
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 06:06pm 17 Jan 2013
Copy link to clipboard 
Print this post

If you (or anyone else for that matter) need any specific notshipped2NZ items contact me and I will order them and onship them to NZ.
VK4MU MicroController Units

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 06:11pm 17 Jan 2013
Copy link to clipboard 
Print this post

Awwwwwwwww.....Shucks.

Thanks for the offer - I will remember it...
Smoke makes things work. When the smoke gets out, it stops!
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 11:57pm 18 Jan 2013
Copy link to clipboard 
Print this post

Donut Dilemma v1.0 is now available for downloading!!

You MUST have version 4.3 of MMBASIC.

Go to my website at...

www.maximite.net.au

... and download the Version 1.0 file. Also download/view the instructions which explaines installation and gameplay.

Please report bugs and comments to me which I can fix for a v1.1 release.

I HIGHLY recommend the Atari Joystick interface add-on to the Maximite but then, I can't play ANY game with the keyboard arrow keys.

Also, if you have the sound hooked up, turn it on.

Enjoy.

Nick
Edited by Nick 2013-01-20
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 12:11am 19 Jan 2013
Copy link to clipboard 
Print this post

You have not been wasting your time, have you Nick? (rhetorical)

My colour MM can't be far away(Altronics made a stuff-up, but credit to them, they admitted it and fixed it), and then this will be the first game I try considering that I have just bought a joystick and buttons - better get building....
Smoke makes things work. When the smoke gets out, it stops!
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 10:42am 19 Jan 2013
Copy link to clipboard 
Print this post

There may be a bug in MMBASIC 4.3 with regards to the handling of the LINE INPUT and INPUT commands in that it is not clearing the keyboard buffer prior to execution.

In my game Donut Dilemma, if you play a game using keyboard control and get to the end to enter your name in the High Score table, the text that was typed prior to running the game at the command line is printed at the LINE INPUT command.

For example: If I run my game with the RUN DONUT command, then after I have completed a game and It switches to allow me to enter my name, it prints RUN DONUT as if I had just entered it and puts the cursor for me to continue entering at the end of that.

Interestingly, when running joystick control, everything works fine.

Something strange going on here.

Nick
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 01:29pm 19 Jan 2013
Copy link to clipboard 
Print this post

No, this is not a bug - more like a "failure to communicate" to quote a movie

As it says in the manual, the keystrokes are still entered into the input buffer when the KEYDOWN function is used. So, when playing the game, you probably used the up arrow and when the program came to the INPUT statement the up arrow keystrokes were used to step up through the history of entered text. The string "RUN DONUT" was in the history buffer and the up arrows took you to that.

The solution is to empty the input buffer before using the INPUT statement. For example:
DO WHILE INKEY$ <> "" : LOOP

I implemented this behaviour because the KEYDOWN function only reports what the keyboard is doing, it is not actually taking the characters from the keyboard. But, I can see that this could be confusing so, in the next version, I will modify the KEYDOWN function so that it clears the input buffer whenever it is used.

In the meantime the solution is to place DO WHILE INKEY$ <> "" : LOOP before the INPUT statement.

Geoff
Geoff Graham - http://geoffg.net
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 02:06pm 19 Jan 2013
Copy link to clipboard 
Print this post

I am using KEYDOWN only to control the player movements and I certainly don't press the keys RUN"DONUT" during the game.

RUN"DONUT" is typed BEFORE the program is even loaded.

LINE INPUT (even INPUT) is throwing this up after the program is run as if I just typed it at the LINE INPUT prompt.

Very strange behaviour and it looks like a bug/annomaly to me.

Anyway. I inserted that line you suggested before the LINE INPUT command to clear the buffer and it works.

I will upload a revised v1.01 to my website.

Nick
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9307
Posted: 02:35pm 19 Jan 2013
Copy link to clipboard 
Print this post

Not to sound ungrateful in any way Nick, but any plans on the horizon for you "Colourizing" MaxMan?

...you probably have enough to do without that...
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 2 of 3    
Print this page
© JAQ Software 2024