1,039 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for VASebastian

I am a beginner in C++ coding. Now I am making a little text based game and i need to do a loading screen. I've kind of made one but i want to fill it with this shape ■. What i know is that the ascii code for it is …

Game Development c++ gaming
Member Avatar for rproffitt
0
655
Member Avatar for pato wlmc

Well, right now i'm following a tutorial on game making for c++, but is this really the best programming language for video games? Also i'd like to know if can recommend me a book ( i've seen some book on amazon but i don't really know wich one to choose …

Game Development c++ gaming video
Member Avatar for Reverend Jim
0
10K
Member Avatar for sanket_6

I Know to design the games, but i don't know that how to specify controls gor designed game using programming language... Soo can anybody HELP me ??? - Thankyou !

Game Development gaming
Member Avatar for jmvazq
0
497
Member Avatar for Hansly

#include <SFML/Graphics.hpp> #include <time.h> #include "Connector.hpp" using namespace sf; int size = 56; Vector2f offset(28,28); Sprite f[32]; std::string position=""; int board[8][8] = {-1,-2,-3,-4,-5,-3,-2,-1, -6,-6,-6,-6,-6,-6,-6,-6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …

Game Development c++
Member Avatar for John_191
0
476
Member Avatar for Michael_80

I am creating an animated sprite that collides w/ itself and destroys itself? How did they do this in 1992? I just want to hit an enemy and have the enemy disappear. Any help appreciated. Using Unity 5.6 for game. public class Hadouken : MonoBehaviour { public Rigidbody2D bulletPrefab; public …

Game Development c#
0
332
Member Avatar for Kingsley_3

Hello guys, I need a concise explanation of the minimax algorithm... I understand it perfectly when explained with trees but the confusion comes in the code implementation... How do I get to implement depth search using code? I understand that calling minimax follows a recursive pattern but getting the AI …

Game Development algorithm gaming pdf
Member Avatar for rproffitt
0
311
Member Avatar for Tcll

I've been working with my own system using CPU-managed hitdefs (rectangles for mouse-events) since I didn't want to redraw everything for the gl feedback buffer... (basically I can do all the hitdef position management once during the frame loop) now that modern gl has come into play, I would like …

Game Development opengl
Member Avatar for Tcll
0
731
Member Avatar for BlueDragonRage

all i need is as many commands for dos programing i am makeing a game called Super Batch RPG please resopnd as of now all the code i know is @echo off echo set __=_ set /p __= set /a __-=__ if "%__%" == "%__%" echo :example code warp goto …

Game Development gaming
Member Avatar for rproffitt
0
271
Member Avatar for Faith_4

I am doing a project for my math class in which I have to choose a topic and connect math concepts to it, and I chose video games. Possible concepts: Quadratics, vectors, probability, trigonometry, statistics, etc. I know this is probably a long shot but anything helps. In what ways …

Member Avatar for Xetwnk
0
536
Member Avatar for Curious Gorge

Hello. I'm using Unity3d to create a simple turret simulation and I have run in to a problem. I need to find the angle to an object from the turret in 3d space. Up to this point I thought I could just take the (arc)trig values retrieved from certain perspectives …

Game Development gaming image mathematics
Member Avatar for xrjf
0
548
Member Avatar for Roney_1
Member Avatar for xing_1

We know that in the process of Apple applications, the application for the issuance of the certificate need to use the key string, upload IPA need to use Xcode or Application loader submit the build version, which requires Mac apple computer. Now a lot of partners cross platform development and …

Game Development app-store apple github ios
0
2K
Member Avatar for DeanMSands3

Test Driven Development is something I explored at my last firmware job. I'm interested in trying it while developing a game-engine. Has anyone else here tried this and what has your experience been.

Game Development gaming
Member Avatar for rproffitt
0
393
Member Avatar for Mushy-pea

Hey. I've been working on a home brew game since late last year, writing an engine in Haskell and GLSL that includes 3D graphics, basic physics and programmable game logic. The version in the second video shows the first appearance of lighting and importation of OBJ files (the cube was …

Game Development gaming open-source opengl
0
304
Member Avatar for Lucas_10

So, I'm making a ton of games like Bubble Blaster but will anyone help me with my currunt one, CodeNet! Currently this is the code. #CodeNet.com #Game Script import time print('Welcome') menu = ['Accept', 'Cancel'] from Tkinter import * HEIGHT = 626 WIDTH = 1238 window = Tk() window.title('Code Net.com') …

Game Development gaming python tkinter
Member Avatar for Lucas_10
0
391
Member Avatar for Lucas_10

How could I improve my code for Bubble Blaster. from Tkinter import * HEIGHT = 626 WIDTH = 1238 window = Tk() window.title('Bubble Blaster 1.8 - By Lucas - AiroTM - Contact Us On Airo ;)') c = Canvas(window, width=WIDTH, height=HEIGHT, bg='darkblue') c.pack() ship_id = c.create_polygon(5, 5, 5, 25, 30, …

Game Development gaming python tkinter
Member Avatar for Lucas_10
0
350
Member Avatar for _1_28

**NOTE: I do relize this question was answered, but not meeting what I wanted to know. ** Sorry if this in the wrong area or something, I am really new to daniweb :3 So I am 12 and quite interested in game development and computers in general. If you guys …

Game Development gaming
Member Avatar for Reverend Jim
0
418
Member Avatar for CJMW

So I'm maing a 3D game editor in Java using LWJGL (Lightweight Java Game Library), I have the editor set up so that the user can create new levels, load up saved levels, save and quick save current levels, import textured models etc.. the basics. I am now trying to …

Game Development gaming image opengl
Member Avatar for CJMW
0
338
Member Avatar for Lp_baez

when the console displays the "StudentAns" I get weird characters instead of the actual answer. ///////////////////////////////////////////////////////////// this is the files CorrectAnswers.txt A D B C A A D B D C A D B A C C D B C A StudentAnswers.txt A D B C A A D B …

Game Development c++ display
Member Avatar for AssertNull
0
352
Member Avatar for Daniel_59

I currently have a problem where the program when it is running will also choose one word and one letter in the word file. For example, in the word file the program only chooses the 2nd word "Dependent" The only letter that is considered correct is "d" My code is …

Game Development c++
Member Avatar for AssertNull
0
379
Member Avatar for Shaik_2

I am trying to run the code in openGL in Visual Studio 2013 after installation. It shows error as "Cannot open source file <GL/glew.h> and <GL/glut.h> ". Also it shows "Identifier glutInit is undefined". Can you please resolve this issue ?? #include <GL/glew.h> #include <GL/glut.h> #pragma comment(lib, "glew32.lib") int main(int …

Game Development open-source opengl visual-studio
Member Avatar for rproffitt
0
302
Member Avatar for M_6

I'm doing bachelor's in computer science, i want to develop a game on my fyp. My question is how big it should be to accepted . And gauge me some sample game which student created in their bachelor's level.. and your opinion which type of game etc...

Game Development gaming image
Member Avatar for AssertNull
0
450
Member Avatar for Mariano_1

Hey I'm coding Tron which is basically a two player snake game, I'm a noob when it come to pygame and python and need help with the collision logic and would love it if you could help me. (the comments are just ideas I had for the loops for the …

Game Development gaming python
0
275
Member Avatar for Nathan_6

Hi, everyone. I want to create a RISK-style game in C++ with decent graphics, of course. I would like to create a map with countries as buttons [I know that this is possible in java through extensions but I want to do this in c++] Could anyone please help me …

Game Development c++
Member Avatar for Nathan_6
0
200
Member Avatar for rhys_2

Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …

Game Development os-x
0
148
Member Avatar for יוחאי

on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen. i thank everyone that might help me, I know a little bit programming on C but I'm a little …

Game Development opengl web-design
Member Avatar for rubberman
0
276
Member Avatar for MWAMBA

I don't know how to programm but i wana that u help me

Game Development
Member Avatar for Tildesare
0
341
Member Avatar for Nisa_1

I want to make game that looks like Rocket Mania, it almost done but something was wrong with the TriggerExit. and now i and my team was stuck and dont know how to continue this game. Maybe same of you guys please help us to make this game out?

Game Development
Member Avatar for Nisa_1
0
324
Member Avatar for daniel955

Hi I am a beginner in game programming and would like to make a rocketmania clone using opengl, the display and interaction part is done. I also have a classes named gameboard and tiles with their properties. but I am having problems on game logic, where the fuel flows into …

Game Development opengl programming-construct
Member Avatar for Nisa_1
0
538
Member Avatar for Nether_1

Okay so I'm writing a code for a game and the way its currently programmed is the main menu is contained within a large function that references another function, and so on. Not too complicated. But (as you'll see with the code below) I have all the essential variables set …

Game Development gaming python
Member Avatar for Gribouillis
0
375
Member Avatar for Marius_3

void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …

Game Development gaming opengl
Member Avatar for Marius_3
0
245
Member Avatar for Marius_3

void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …

Game Development gaming opengl
Member Avatar for RudyM
0
252
Member Avatar for Dylan_6

Hi, I am currently in UNI studying Media (Video, Music, Design and also Web Development). As its summer I would love to have a side project. I've been meaning to learn how to create a text based RPG game, I am curious what skills I would need to make a …

Game Development css-bootstrap gaming web-design
Member Avatar for rproffitt
0
335
Member Avatar for Batch Devil

I was wondering if it is possible to make [I]an online multi-player game server preferably in batch.[/I] I am hoping to make a PowerPoint game that can be multi-player with the help of batch. Also even answers that do not suit my requirements fully will help, because i am 11 …

Game Development client-server gaming office-suite
Member Avatar for Jaxonpoop123
0
2K
Member Avatar for wrestle23

hey is there anyone in here who is good at these staff : coding,html,php,css,javascript and also i need a partner to do this coz wanna create a text based mafia game ......... thanx very much just contact me below thanx........ MSN : [I]<<snip>>[/I]

Game Development html-css javascript
Member Avatar for JamesCherrill
0
751
Member Avatar for Richmond_1

When mario collide to the wall .. I want to go back to the flappyMario class and dispose the Game Class .. but dispose won't work .. I really appreciate if someone help me about this problem. Here is my Code import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Toolkit; import …

Game Development gaming java-swing
0
163
Member Avatar for Mike_29

I'm developing a game that has a word falling to the bottom of the screen and the user typing that word before it hits the bottom. So you'll be able to type input while the word is falling. Right now I have a timer that waits 5 seconds, prints the …

Game Development c++ gaming multithreading
0
265
Member Avatar for fallout4player

ok so, I'm using unity5 and I have got my terrain and spooky forest. the lighting is ok its just that if I drag the FOG script to the first-person prefab and press play it doesn't work. it does distance fog not real-time moving fog in front of the camera. …

Game Development gaming image
Member Avatar for fallout4player
0
286
Member Avatar for CJMW

Okay... So I am an avid programmer. I have been writing applications in C, C++ and C# for almost 10 years now. I'm also a second year computer science student. Like many people I love computer games, more specifically adventure/ rpg games like runescape, elder scrolls etc. I have programmed …

Game Development c++ gaming
Member Avatar for JOSheaIV
0
286
Member Avatar for fallout4player

the game unturned is running with low fps. I have a late 2011 MacBook pro. 2.4ghz cpu i5. intel hd 3000, 512mb. with bloom and light shafts I'm getting about 29fps. when I turn up the detail distance it drops to 6fps. clearly 2.4ghz is fast enough not to do …

Game Development gaming video
Member Avatar for rproffitt
0
390
Member Avatar for sam.tubb.75

I'm very new to the Raycasting algorithim, and was reading a webpage on how it works with CPP code to accompany. I followed what the page described and converted it into Python/Pygame and then ran it, but my result was *very* different. I have a feeling it has something to …

Game Development gaming python
Member Avatar for andybe
0
306
Member Avatar for Malbora

How to create a character for my game? Im trying to develope a game in html5,css3,javascript

Game Development html-css
Member Avatar for rproffitt
0
99
Member Avatar for Ali_56

Hey, still a beginner in Python. I was wondering if anybody could help me out with all this info. Im planning to make an actual game, but first i have to get classes/methods etc. I thought maybe this would be some good classes: Trainer, Pokemon, Moves, Stats, Type, Pokeball, Pokedex …

Game Development gaming python
Member Avatar for Ali_56
0
8K
Member Avatar for sirlink99

Hello everyone, I am trying to write an object loader in c++. Currently, I have a file that is made up of many sub objects and I am having a little difficulty figuring out how to process the data. First of all, here is an example of part of the …

Game Development c c++ opengl
0
180
Member Avatar for IconiCxPimp

This is my code. I am learning this through the microsoft C# for absolute beginners book. I am on chapter 8 on the final soccer program and have no errors. The only problem I have is when I run it. I get $exception {Index was outside the bounds of the …

Game Development data-structure gaming
Member Avatar for IconiCxPimp
0
346
Member Avatar for Oli_1

I was thinking about my upcoming school project focused on Windows 10 universal apps and I ran into very interesting experiment : http://gregtatum.com/poems/stochasticity/1/ I want to work on something very similiar or achieve similar level of animation in universal application writen in Csharp Win2D. I have never worked with any …

Game Development windows-10
Member Avatar for Taywin
0
300
Member Avatar for prgmmgbgnnr

someone should help me with thisss T-T okay the instruction is like this "let your prog picks a combination of vowels and consonants. User will then build as much words as possible from the chosen letters. your prog will check the correctness of the words. give points to each word …

Game Development
Member Avatar for prgmmgbgnnr
0
247
Member Avatar for jakesee

Hi everyone, I need some help with the lookat matrix... This is my code [CODE] Matrix Matrix::CreateLookAt(Vector3 eye, Vector3 target, Vector3 up) { Vector3 forward = target - eye; forward.normalize(); Vector3 side = Vector3::cross(forward, up); side.normalize(); up = Vector3::cross(side, forward); Matrix m; // Defaults to identity matrix m.m11 = side.x; …

Game Development opengl
Member Avatar for 传志
0
2K
Member Avatar for Codeyjj

Hey guys, I am new to the community so I wanna say thanks in advance for the advice. I am 20 years old and very interested in game developement. My programming background is limited as I have only been practicing for about a year total now and in scattered time …

0
142
Member Avatar for Tcll

I've been here before but I'm looking to find a single-pass method to input the LRS `[[0,0,0],[0,0,0],[1,1,1]]` and get a basic 3x4 (at least) matrix in return: [ [1,0,0,0], [0,1,0,0], [0,0,1,0] ] ^ matrix is NOT transposed (I'll never understand why we use column-major) anyone got anything on this?? > …

Member Avatar for Tcll
0
501

The End.