Search found 5 matches
- Tue Sep 02, 2014 7:54 pm
- Forum: Programming Discussion
- Topic: Memory Usage Optimization
- Replies: 6
- Views: 3463
Re: Memory Usage Optimization
Well, I have made sure that all of my variables are the proper types, i.e. short/unsigned etc. I have not compressed my textures yet but I made sure that I am clearing the CPU copy after uploading them to the GPU. My main concern is RAM rather than VRAM at the moment. I'll try some of your suggestio...
- Mon Sep 01, 2014 9:26 pm
- Forum: Programming Discussion
- Topic: Memory Usage Optimization
- Replies: 6
- Views: 3463
Memory Usage Optimization
Hey guys, I'm a little confused and I know this is a frequent topic, but hear me out. Our game engine has been doing very well and memory usage is no problem on a PC. It is a 2D game based on OpenGL and SDL The problem I'm having is I have started getting into Dreamcast development and my primary co...
- Sun Aug 17, 2014 10:28 am
- Forum: Game Development
- Topic: Action Platformer! Barbarian post-Apocaylpse
- Replies: 0
- Views: 23218
Action Platformer! Barbarian post-Apocaylpse
Hey Guys! We are working on our first game, a 2D action platformer based around a barbarian in the post-apocalypse! Check out our blog for more details ( Screenshots included ): http://blueshackstudios.blogspot.com/ Any comments or questions are very welcome! We are very inspired by Falco and the cr...
- Wed Jun 25, 2014 8:57 pm
- Forum: Programming Discussion
- Topic: Perspective Projection acting Orthographic?[SOLVED]
- Replies: 0
- Views: 19360
Perspective Projection acting Orthographic?[SOLVED]
Hey all, I'm having an issue with my perspective projection matrix. It works, and things display properly except there is no perspective! It ends up being basically an Orthographic projection... Any help would be appreciated! Matrix4 Matrix4::Perspective(real angle, real imageAspectRatio, real n, re...
- Mon May 12, 2014 1:23 pm
- Forum: Programming Discussion
- Topic: Question about Polymorphism.
- Replies: 1
- Views: 2144
Re: Question about Polymorphism.
You are correct in that it is useless in your situation, but that is a bad example. Mainly polymorphism is useful when you need a base class pointer for general use. Consider the following: class Enemy { virtual void Update() { } }; class Goblin : public Enemy { void Update() // Overrides virtual fu...