Search found 3270 matches

by BasicCoder2
Oct 13, 2018 21:01
Forum: General
Topic: How to make glitter paint
Replies: 10
Views: 442

Re: How to make glitter paint

The color range was taken from the Pony image and I inadvertently took two sets (reddish and a bluish set) together. My problem is how to work out a function that given a base color will return a random color suitable to fill an area with glitter based on that base color. For example I think the bas...
by BasicCoder2
Oct 13, 2018 18:00
Forum: General
Topic: How to make glitter paint
Replies: 10
Views: 442

Re: How to make glitter paint

@dafhi, Ultimately I would imagine artwork of this kind being saved as a well supported .gif file. Even color cycling would require working out what range of palette colors to cycle and what values to give them for any given application. It is usual I think to just have a short animated tile for wat...
by BasicCoder2
Oct 13, 2018 10:48
Forum: General
Topic: How to make glitter paint
Replies: 10
Views: 442

re: How to make glitter paint

Trying to paint my horse? Yes it was the horse that made me think about adding glitter paint to a Paint program. I have added some more colors to the program in the first post. Not sure how to convert this to a .gif image and thus have my own version using 3 frames. Actually I think a .gif file is ...
by BasicCoder2
Oct 13, 2018 9:10
Forum: General
Topic: How to make glitter paint
Replies: 10
Views: 442

How to make glitter paint

Does anyone know how to generate glitter paint from some base color? My assumption here is a routine that instead of using a palette of colors you can generate a random colors from a base color. screenres 640,480,32 dim as ulong colors1(54) dim as ulong colors2(54) 'to make more sets of colors dim a...
by BasicCoder2
Oct 12, 2018 21:42
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 19640

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 250 $ 1st prize

badidea wrote:BasicCoder2 (Will you try?)

As I wrote earlier it all comes down to having an idea, based on the theme, that is worth coding.
What I have been doing is giving it some deep thought.
Should any ideas come to mind I will post them for comment and suggestions.
by BasicCoder2
Oct 09, 2018 19:35
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1546

Re: 3D polygon world render

Cool demo. Can the code be used to make something like this? https://www.youtube.com/watch?v=8piDU5UFA68 I remember the fun of learning to land on the air craft carrier without crashing. Flying under the Golden Gate bridge and over Alcatraz. Looking back on some of the old software I have to take my...
by BasicCoder2
Oct 09, 2018 8:55
Forum: Game Dev
Topic: Retro style 3D graphics
Replies: 6
Views: 995

Retro style 3D graphics

This is a 3d scene of a desert with a cluster of bushes. You can move about with the arrow keys. You might like to try key [A] or key[D] to see the effect of changing one of the variables. Note: It requires multiput.bi which I just keep in the inc file of the freebasic compiler. The two bitmaps requ...
by BasicCoder2
Oct 08, 2018 20:47
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 19640

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 250 $ 1st prize

Lachie Dazdarian wrote:I can't check effectively nor prevent people to reuse their old code and game engines.

But isn't that how we all program, code reuse?
Aren't many different games produced using the same game engine?
by BasicCoder2
Oct 08, 2018 20:25
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 19640

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 250 $ 1st prize

Or a space game where you have to defend the tiny planet "Freebasic" against the huge "C++" battleships, old "QBASIC" space-junk and stealthy "JS" invaders. Clearly you have more imagination than myself :) The real battle with computer languages is being play...
by BasicCoder2
Oct 08, 2018 20:20
Forum: Community Discussion
Topic: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?
Replies: 24
Views: 1672

Re: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?

JavaScript had been on my mind before your initial post .. i would enjoy a 'comparison' of sorts :-) If you google "writing games with Javascript" you can make your own comparison, perhaps by writing a FreeBASIC version of the demo games. This is definitely an option. Do you have any link...
by BasicCoder2
Oct 08, 2018 5:53
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 19640

Re: Another game dev competition?

Lachie Dazdarian wrote: It would probably last for about 3 months and be FREEBASIC themed. You know, like a FreeBASIC horse fighting C++ robots. It's up to your imagination and ingeniosity .

In the past it has been the inability to invent a game around the themes required that has inhibited my participation.
by BasicCoder2
Oct 08, 2018 5:39
Forum: Game Dev
Topic: rotating world - MATH PROBLEM
Replies: 6
Views: 669

Re: rotating world - MATH PROBLEM

By doing it "the same way" I meant "a world rotating around the main agent" and not necessarily duplicating the "same method" for doing this. Your analysis of the display mechanics makes sense. I did notice that the objects wobbled and were probably not drawn on any wor...
by BasicCoder2
Oct 08, 2018 5:33
Forum: Community Discussion
Topic: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?
Replies: 24
Views: 1672

Re: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?

dafhi wrote:JavaScript had been on my mind before your initial post .. i would enjoy a 'comparison' of sorts :-)

If you google "writing games with Javascript" you can make your own comparison, perhaps by writing a FreeBASIC version of the demo games.
by BasicCoder2
Oct 07, 2018 5:08
Forum: Game Dev
Topic: AI Tanks - Second draft
Replies: 1
Views: 554

AI Tanks - Second draft

The blue tanks are in "wander mode" meaning they keep going until they hit another tank, boundary or other obstacle. When that happens they stop and rotate until able to move again. The green tank is under user control using the arrow keys. The main difference between this and all the othe...
by BasicCoder2
Oct 06, 2018 20:29
Forum: Game Dev
Topic: rotating world - MATH PROBLEM
Replies: 6
Views: 669

[SOLVED] rotating world - MATH PROBLEM

@dodicat, The arrow example wasn't the problem it just illustrated the method of drawing and erasing one bitmap onto another. 1. save area x,y to be drawn on DO 2. draw on area 3. display result 4. restore area x,y 5. now free to change x,y values (eg to move object) 6. again save area with new x,y ...

Go to advanced search