Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Community news and announcements / Re: Game Competition
« Last post by B+ on 09. November 2017, 19:37:32 »
Hi Richey,

I have written several games, usually from classics but did invent one early on, Square Elimination which requires far too much thinking to be fun. Oh, there is eRATification which pretends to be a shooter game but is just an excuse to shoot a bunch of rats with plasma laser beams! I mean who cares about scores when you are about to be eaten alive by rats!

In fact currently I am working on Chess interface with QB64 but seriously considering testing the new JB version 2.0 beta finally released by Carl because JB has GUI I have practiced a little with.

With my games, if originally written in SmallBASIC, SdlBasic, JB, or now QB64, it is soon in the other flavors. The only exception is JB with slow graphics but solid GUI and unlimited Integers that Richard calls "arbitrary".

Can you name a game that requires unlimited Integers? I can, I call it Number Theory.

So Richey, does this information help you with your code writing?

PS Oh there was another shooter game with Plasma beam in space modified for excuse to try Escher tiling, it was a target practice thingy. I am sure I posted most all of them here or BP.org.

PPS Oh, here is another
http://retrogamecoding.org/board/index.php?topic=556.0
Thanks Rick3137 for idea! I still have Connect 4 on backburner, AI can spot and block a potential win or winning move but I want AI that makes smarter moves building both defense and offense.
12
Community news and announcements / Re: MasmBasic
« Last post by B+ on 09. November 2017, 19:19:37 »
Hi JJ,

Congratulations! How do you count it when macro name is same but has optional parameter, one or two?
13
Community news and announcements / MasmBasic hits the 400 commands mark
« Last post by jj2007 on 09. November 2017, 09:38:41 »
Version 8 November 2017 is ready to be installed. Changes:

- updated help file, with now 400+ macros documented (also online - use Ctrl F to find commands; but remember the best help option is to use RichMasm, hover over a keyword like Open, then right-click on the word and copy the line that fits your case)

- fDate$() and fTime$() can now take a third parameter to force any language:

include \masm32\MasmBasic\MasmBasic.inc
  Init
  Print "Right now, ", fDate$(0, "dddd dd MMMM yyyy "), fTime$(0, "HH:mm:ss"), Str$(", we are in ISO week %i\n", IsoWeek())
  Print fDate$(0, "dddd dd MMMM yyyy ", russian), fTime$(0, "HH:mm"), Str$(", мы находимся в ИСО неделе %i", IsoWeek())
  wMsgBox 0, wCat$(wfDate$(0, "dddd dd MMMM yyyy ", hindi)+wfTime$(0)), "This is Unicode:", MB_OK
EndOfCode

Output:
Right now, Wednesday 08 November 2017 04:55:26, we are in ISO week 45
среда 08 ноября 2017 04:55, мы находимся в ИСО неделе 45


- SetInt can now move the content of ST(0) to xmm0:
  fldpi
  Print Str$("PI=\t%Jf\n", ST(0))
  fmul FP4(100.0)
  SetInt ecx
  Print Str$("100*PI=\t %i\n", ecx)
  fldpi
  fmul FP8(10.0e16)
  SetInt xmm0
  Print Str$("100*PI=\t %i\n", xmm0)


Code: [Select]
Output:
PI=     3.141592653589793238
100*PI=  314
10e16*PI=314159265358979324

- finally, the ternary operator If? can now also take the Zero? and Carry? flags as input (testbed attached):

  xor ecx, ecx
  Print Str$("zero flag set: %i\txor ecx, ecx\n", If?(zero?, 111, 222))         ; prints first number, 111
  or ecx, -1
  Print Str$("zero flag set: %i\tor ecx, -1\n", If?(zero?, 111, 222))   ; prints second number, 222
  stc
  Print Str$("carry set: %i\tstc\n", If?(Carry?, 111, 222))     ; carry is set, prints 111
  clc
  Print Str$("carry set: %i\tclc\n", If?(Carry?, 111, 222))     ; carry clear, prints 222
14
EGSL / Re: EGSL on HAIKU Os
« Last post by lelldorin on 05. November 2017, 22:38:30 »
EGSL is available on Haiku again.

EGSL and the IDE: http://software.besly.de
Tutorials: http://www.besly.de

Thanks to loglas for this great work, he bring it back to run on current Haiku x86 builds.
15
Offtopic / Re: The good old days
« Last post by B+ on 05. November 2017, 18:04:01 »
I want what he's having!
16
Offtopic / The good old days
« Last post by Richey on 04. November 2017, 22:23:11 »
17
Community news and announcements / Re: SyntaxBomb - Code a game competition
« Last post by Richey on 04. November 2017, 22:03:45 »
Interesting post here from Richard Russell.

He has converted David Williams' game to run in BBCSDL (Richard's cross-platform version of BBC BASIC)

http://bbcbasic.conforums.com/index.cgi?action=display&board=support&num=1509820264&start=0#1509820264

The latest (free) version of BBCSDL can be downloaded from here:

http://bbcbasic.conforums.com/index.cgi?action=display&board=announcements&num=1509554123&start=0#1509554123
18
Community news and announcements / Re: Game Competition
« Last post by Richey on 04. November 2017, 21:58:06 »
wait... do game coders come here?

Well, most of the activity on this forum is in the 'basicprogramming.org' section rather than the 'retrogamecoding.org' section...and most of the master coders here are developers of their own BASIC dialects.

Having said that, both Cybermonkey and Marcus are game coders...there may be some others who lurk...

@B+ Have you ever been tempted to write a game? You like graphics and you have the necessary skill and ability. I guess you also need the time and motivation too...

If you were to write a game, what BASIC dialect would you use?

Lots of game ideas here at World of Spectrum

https://www.worldofspectrum.org/forums/categories/new-game-ideas

19
Community news and announcements / Game Competition
« Last post by B+ on 04. November 2017, 15:16:39 »
Richey's post reminded me of this:
http://www.qb64.net/forum/index.php?topic=14570.0

Hosted by GitHub, another game coding competition that is not too late to submit (I think).

wait... do game coders come here?
20
Community news and announcements / Re: SyntaxBomb - Code a game competition
« Last post by B+ on 04. November 2017, 00:19:13 »
Oh, it's over.
Pages: 1 [2] 3 4 ... 10