Search found 447 matches

by Boromir
Dec 20, 2017 20:28
Forum: Libraries
Topic: Are VBOs and Instancing not available in freebasic's OpenGL?
Replies: 3
Views: 493

Re: Are VBOs and Instancing not available in freebasic's OpenGL?

Thanks! I added all the bindproc stuff in and now I can use those functions. I'm having some trouble using a VBO though. This is my setup code. glGenBuffers(1, @vboId) glBindBuffer(GL_ARRAY_BUFFER, vboId) glBufferData(GL_ARRAY_BUFFER, sizeof(vertex), verticess, GL_STATIC_DRAW) glVertexPointer(3, GL_...
by Boromir
Dec 20, 2017 18:14
Forum: Libraries
Topic: Are VBOs and Instancing not available in freebasic's OpenGL?
Replies: 3
Views: 493

Are VBOs and Instancing not available in freebasic's OpenGL?

Are VBOs and Instancing not available in freebasic's OpenGL?

Why do none of these work in my freebasic OpenGL programs.

Code: Select all

glDrawArraysInstanced

glGenBuffers
glBindBuffer
by Boromir
Dec 20, 2017 17:27
Forum: Beginners
Topic: Auto-Detect Resolution
Replies: 2
Views: 412

Re: Auto-Detect Resolution

TurtleProgrammer wrote:Is there a way to Auto-Detect Screen Resolution?

Code: Select all

dim as integer w,h,depth
Screeninfo w,h,depth

screenres w,h,depth


print "Your screen resolution is "+str(w)+" x "+str(h)
print "Your color depth is "+str(depth)

sleep
by Boromir
Dec 08, 2017 20:53
Forum: Tips and Tricks
Topic: drawing 3D triangles by halves to create a sentinel/sentry game
Replies: 1
Views: 365

Re: drawing 3D triangles by halves to create a sentinel/sentry game

This little game is an example of how to draw 3D triangles in a simpler manner : by splitting them in two halves, by the line that passes through the medium point. This is simpler because each half can be drawn by a very simple for y = up to down : draw horiz line : next y Nice work! I've never pla...
by Boromir
Dec 05, 2017 3:51
Forum: Community Discussion
Topic: time to say goodbye
Replies: 53
Views: 5261

Re: time to say goodbye

Mihail_B wrote:Thank you Mr D.J. Peters for your contribution from which I too benefited ... benefited richly ... I'll personally be missing your presence.

I second that!
by Boromir
Dec 03, 2017 23:47
Forum: Projects
Topic: Eric: The Mysterious Stranger - RTS game(WIP)
Replies: 337
Views: 19977

Re: Eric: The Mysterious Stranger - RTS game(WIP)

http://www.indiedb.com/games/eric-the-mysterious-stranger
Image
I added a dialog screen and game log.

D.J.Peters wrote:Homemade "Age of Empires" I like it :-)

Joshy

Thanks Joshy!
by Boromir
Nov 18, 2017 20:22
Forum: Projects
Topic: Eric: The Mysterious Stranger - RTS game(WIP)
Replies: 337
Views: 19977

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Perhaps one day tools such as Blender will evolve to the stage of having a menagerie of plants, animals and other objects along with an algorithm to generate random humans which we can take to a virtual clothes shop and dress them up just by selecting the clothes desired. Then be able to apply kine...
by Boromir
Nov 18, 2017 1:42
Forum: Projects
Topic: Eric: The Mysterious Stranger - RTS game(WIP)
Replies: 337
Views: 19977

Re: Eric: The Mysterious Stranger - RTS game(WIP)

https://www.youtube.com/watch?v=6ym6B9Xs2Bo&feature=youtu.be
Here is a short video of some gameplay.
Sorry about the quality. I'm still learning out how to use the screen recording software I have.
by Boromir
Nov 17, 2017 21:49
Forum: Projects
Topic: Eric: The Mysterious Stranger - RTS game(WIP)
Replies: 337
Views: 19977

Re: Eric: The Mysterious Stranger - RTS game(WIP)

At the moment the Viking characters need improving for they look more like monsters from the deep lagoon than people :) It is a matter of keeping to an art style which is probably easiest when only one artist is involved or at least one artist sets the style. A reduced palette of colors may also gi...
by Boromir
Nov 17, 2017 16:41
Forum: Projects
Topic: Eric: The Mysterious Stranger - RTS game(WIP)
Replies: 337
Views: 19977

Re: Eric: The Mysterious Stranger - RTS game(WIP)

@Boromir Still working on your project. Are you able to provide a little utube action demo of the game so far? Yes, I do hope to create a video soon if I have time. One thing that I think makes a game easy on the eyes is sharp rather than blurry edges providing they don't become too cartoon like. A...
by Boromir
Nov 17, 2017 3:08
Forum: Projects
Topic: Eric: The Mysterious Stranger - RTS game(WIP)
Replies: 337
Views: 19977

Re: Eric: The Mysterious Stranger - RTS game(WIP)

http://media.indiedb.com/cache/images/games/1/65/64358/thumb_620x2000/logo.1.png Been doing a little bit more work on this. List of some of the stuff I've been working on: --As the player moves, the game moves the loaded sector of the map. Map size is 1200x1200 tiles currently. --Enemy ai. Enemy ag...
by Boromir
Oct 18, 2017 18:42
Forum: Game Dev
Topic: Ways in which I can embed a video player into GFX window?
Replies: 11
Views: 1481

Re: Ways in which I can embed a video player into GFX window?

⋅ I would like to be able to set at a custom, constant resolution. This is so the video player can embed 'properly' into my graphics windows (screen 20 for the game I am programming now, btw). ⋅ I would like to have full control over the functions that are available to the user,...
by Boromir
Oct 09, 2017 14:45
Forum: Projects
Topic: Software Rendered Voxel World
Replies: 4
Views: 693

Re: Software Rendered Voxel World

D.J.Peters wrote:
h4tt3n wrote:Looks interesting, but when compiling ascii2.bas the program crashed.
same here
if I replace the macros setpixel and getpixel with pset and point it works.
looks like x,y are out of range !

Joshy


I wonder why it works on my computers then.
What did I do wrong with the macros? How can I fix them?
by Boromir
Sep 30, 2017 2:02
Forum: Projects
Topic: Software Rendered Voxel World
Replies: 4
Views: 693

Re: Software Rendered Voxel World

h4tt3n wrote:Looks interesting, but when compiling ascii2.bas the program crashed.

Strange. It works for me on my Windows XP laptop and on my Ubuntu Desktop. I'll have to look through the code and see if I can find anything.
by Boromir
Sep 28, 2017 16:02
Forum: Projects
Topic: Software Rendered Voxel World
Replies: 4
Views: 693

Software Rendered Voxel World

This is a voxel world renderer. It's not really very usable but it was fun to make and it looks sort of nice. The code is included in the zip file. The current world size is 29,750,000 cubes. Only something like 200,000 of those cubes are rendered per frame. Key Y toggles rasterization Key U toggles...

Go to advanced search