hey - i am developing a game editor in C++/DX and have encountered a
problem.
when i create map sturcture array (like below) to represent tile
textures:
o,1,o,
1,1,o,
1,1,1,
1,1,o,
o,1,o,
it then replaces the numbers with textures in another struct array and
goes to perform animation etc. I need it to change the texture in the
appropriate tile when the LMB is clicked (left mouse button) BUT when
i run CreateQuad again on the tile in question it flags an error (VC++
6.0) - does anyone know of a solution to this?
Xpy
new google group - Computer Game Development 3 1686
Xpyder wrote: hey - i am developing a game editor in C++/DX and have encountered a problem.
when i create map sturcture array (like below) to represent tile textures:
o,1,o, 1,1,o, 1,1,1, 1,1,o, o,1,o,
it then replaces the numbers with textures
The "structure array" contains small letters 'o', which are not numbers.
That's just BTW.
in another struct array and goes to perform animation etc. I need it to change the texture in the appropriate tile when the LMB is clicked (left mouse button) BUT when i run CreateQuad again on the tile in question it flags an error (VC++ 6.0) - does anyone know of a solution to this?
Try a newsgroup where at least one of the things here you named (texture,
animation, LMB, CreateQuad) is on topic. Begin with DirectX newsgroup,
then proceed to Windows OS one, then probably to Visual C++. There is
also a host of game newsgroups, comp.games.development.*...
Your post does not contain a C++ language question and comp.lang.c++ just
happens to be a C++ language newsgroup, I hope you understand why it is
off-topic.
V
yes i understand why you think that, but DX is an api designed with C++
in mind and is used in conjunction with it
Xpyder wrote: yes i understand why you think that, but DX is an api designed with C++ in mind and is used in conjunction with it
Yes, but C++ is not designed with DX in mind and _most_often_ used without
it. That's why you should post to a DX newsgroup and not C++ one. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mark L |
last post by:
I am trying to create a graphics engine using OpenGL and PHP. I am
currently trying to create a completly white texture to test out the
texturing capabilities.
My idea is to create an array...
|
by: John Ortt |
last post by:
Hi there everyone,
I have a part info form which has a faded image of our company logo as a
background.
I want to replace the faded image with a bright red warning image on items
which have run...
|
by: Myk Quayce |
last post by:
I have a four-sided polygon that rotates and zooms as the user moves the mouse. Is there a way to incorporate a texture-mapped
image without DirectX? The GDI+ doesn't seem to support this.
--
...
|
by: Doug |
last post by:
Any idea what I’m doing wrong? I have a nasty memory leak when I reload
textures. I can’t seem to unload them.
Here’s a sample snippet that demonstrates the problem.
while(true) {...
|
by: Kuba Florczyk |
last post by:
Hi
I'am working on a 3D realtime "video" mixer. For now everything is ok i made
video/images/sound mixing in 3D space.
But now i draw flash movie on a texture.
My question is: how do it?
...
|
by: =?ISO-8859-2?Q?Rafa=B3?= Maj |
last post by:
Say we have a class Model (a 3d model) and class Texture (representing an
Texture).
Model have a texture, Model can be Drawed. Texture have method that returns
data needed for drawing.
class...
|
by: ...:::JA:::... |
last post by:
Hello,
Is there any real easy example for loading an texture in your directpython
window???
For example this is my code:
# loading directpython modules
import d3dx
import d3d
from d3dc...
|
by: colin |
last post by:
Hi,
Ive written a 3dmodel editor, and it works fairly well
it harldy uses any cpu exept when its loading a texture from bitmap
in the debugger, at all other times it hardly uses any cpu
but from...
|
by: brixton |
last post by:
Hello,
I've got the following code that creates a texture from a .RAW file:
GLuint MyGLCanvas::LoadTextureRAW( const char * filename, int wrap )
{
GLuint texture;
int width, height;
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |