Programming :: Game Graphics Short Inquiry?
May 28, 2011
I have all of the code written for a text based game but how big of a leap is it from text to graphics? lets just say a 2d engine. Is this a fairly easy task or would it be a bit of effort? I've never done anything with graphics before and would just like a quick idea of how much of a project is graphics vs functionality.
View 5 Replies
ADVERTISEMENT
May 6, 2011
Do you know any game engines or game studios that can make adventure games, for instance in the style of Myst (1st person) or in the style of old Sierra games (3rd person), like King's Quest, Space Quest, etc.?I've seen AGI Studio, but it is too old, I'd like to use more modern graphics (although there is no need for 3D).
View 7 Replies
View Related
Feb 22, 2011
I use a program that has 3D graphics everything has a 'laggy' appearance and freezes for short seconds. These programs included any of the games from Ubuntu Software Center, along with other applications such as games ran through Wine(seperate problem).
Things to keep in mind:
-I've downloaded the automatic updates through Ubuntu Software Center.
-I'm fairly new to Ubuntu(still learning).
-Provide as many details in, if, you post a possible solution.
-I'm only using Ubuntu 10.10 as my OS, no dual-boots with Windows or any other OS.
[Code]...
View 1 Replies
View Related
Aug 29, 2009
I just got a graphics card ATI installed on my fedora 10. I would like to see the functioning of the same with some kind of game. Any suggestions for game under fedora 10 to see the graphics application.
View 1 Replies
View Related
Apr 24, 2010
i was wondering if anyone else was experiencing any flickering with flash? for instance, if you're playing a game, some of the objects and graphics in the game randomly flicker, or if you're watching a video on videos with annotations, the annotations frequently flicker.
View 9 Replies
View Related
Aug 3, 2010
Menu working normally, game crashes on level loading:
Code:
]map wca1
Opening UDP/IP socket: *:44400
==== G_Init ====
------- Server Initialization -------
[code]...
View 1 Replies
View Related
Jun 15, 2010
I am wondering if pthread could make that a single thread keeps the "mutex" all the time if the time it remains unlocked is very small.
thread1
{
while (1)
{
lock; do_task(); unlock();
[code]...
I experiment the thread2 never getting access to the mutex and never printing the nice message. I would expect that once thread2 calls "lock", it would get the mutex as soon as thread1 calls unlock() but it does not seem to be the case. If I add a sleep of some microseconds (100) in thread1 after unlocking the mutex, it solves the problem.
Does anyone know if this behaviour is normal? Is there a way to configure my mutex so that thread2 receives it when unlocked?I use
pthread_mutexattr_settype(&att, PTHREAD_MUTEX_RECURSIVE_NP);
pthread_mutex_init(&handle, &att);
to create my mutex. I am running ubuntu 9.04
View 3 Replies
View Related
May 8, 2011
I want to capture short randomly occurring events such as Sudden Interstellar Disturbances, Lightning, ion counting, etc. To do this I wish to use the LINE-IN port. My sensor would feed a signal of less that 2 volts but could be submitted via a voltage divider. Since the sound card captures 44100 events per second this should capture events I am looking at, I think, but maybe not. I would capture the sound buffer to a string or memory buffer every second (and half second so I can prevent overwriting of its buffer, then merge the two).
Every 60 seconds (for validation) I would run "time" and count full buffer transfers in between to time events. By effectively counting characters from the beginning of the processing buffer to the beginning of the event I could further refine the "time to event". I think I could then save a decent number of values or until no data received from the processing buffer to preserve the event. This I would output with event time (to within 1/44100 sec) along with the data points captured to a file.
Except for the outputting of info to a file I think I can scan a buffer for events within a second (while LINE-IN continues capturing data on that port). I believe I have a way to handle the outputting. I am asking if any of the processing of the previous buffer would interfere with the sound cards data capture on LINE-IN? There would be no disabling of interrupts. I am presuming that system interrupts would not effect the LINE-IN data capture. Is this true?
View 6 Replies
View Related
Nov 21, 2010
how can I store the output of (ty to colucix for this line)
Code:
xprop -id $(xprop -root | awk '/_NET_ACTIVE_WINDOW(WINDOW)/{print $NF}') | awk '/_NET_WM_PID(CARDINAL)/{print $NF}'
in a variable and then pass the value of that variable to the kill command as the PID to kill?
View 3 Replies
View Related
Jun 1, 2010
This game is Java based. After rebooting the game works, but on ending the game several notification boxes remain. If these boxes are not closed in the reverse order that the game opened them, it is no longer possible to close them. Only by killing the Java processes can these notifications be made to close. Also after playing the game, even if all these notifications are closed it is many times necessary to kill the Java process(es) in order to get the game to load again at a later time. I am currently using Slackware 1.30, but a similar problem has existed in several of the past releases.
View 4 Replies
View Related
Jun 12, 2011
I'm very excited to post a question, since I always do everything by myself. I'm reading several lines from a text file using istream::getline(char *, streamsize n). I get the file name from the command line. Here is the code:
Code:
#include <iostream>
#include <fstream>
using namespace std;
int main ( int argc, char *argv[])
[Code]...
Using GCC 4.4.5 on Ubuntu 32bit Btw: I know assembly language and know what a segmentation fault is
View 4 Replies
View Related
Jan 19, 2009
i'm a web designer and I use adobe creative suite products for my work. I would like to know if Fidora is capable of running these applications with no problem at all as I am planning on installing a new operating system which is light and very secure. Please help me out on this one as I am really interested with Fidora's features.
View 5 Replies
View Related
Sep 25, 2010
What I want to do is create a game like an old DOS game, but on the debian linux console. I don't know much about linux yet, but I know C. What would be the best library for doing something like this?
View 8 Replies
View Related
Dec 21, 2009
I have attached usb memory to my Linux server and I want to add it to my /etc/fstab .Can you please let me know how can I recognize it from my"/dev/?" list ?
View 14 Replies
View Related
Mar 25, 2011
I've been working on this console-based game (in c) in which the player walks around touches floating orbs which do things etc. And I want to make it so that an object on the map blocks the sight of the player, which is something I haven't tried until now. This is the part of the code which handles this sort of thing :
void uncover(int shadow)
{
int wp,
hp,
xp,
yp,
pp, // point placement
mp, // maximum pp value // (that's what she said)
lp; // light placement .....
This <works> but isn't very nice. What I would like to do is to change the third to last if statement, which is really more of a geometry problem, which could be frased as :
given points (x,y) , (plist[pp].x,plist[pp].y) and (wp,hp) create a conditional which tests weather or not point (wp,hp) is within the shadow cast by light-source (x,y) being blocked by an object at (plist[pp].x,plist[pp].y), [with some width, ~1]
but there isn't a geometry forum, and it's somewhat more related to programming.
View 14 Replies
View Related
Mar 7, 2010
i'm trying to write a bash script to upload an image to [URL], but i can't get i working properly. Everytime i try, the html returns me a error saying "Upload is disabled during short maintenance work (ETA 10 minutes). Brb!", while from the browser everything works fine. This is my current command line:
Code: curl -L -b cookie-pix.txt -c newcookie.txt www.pixhost.org/cover-upload -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -F 0=@/home/admin/Desktop/karm.jpg -F content_type=0 -F press=Upload And this is the html of the form:
[Code]....
View 1 Replies
View Related
Jun 7, 2010
I have trouble converting a short array to a char array
Code:
short pShort[4] = { 0x41, 0x42, 0x43, 0x44 };
How to convert this to a char array?
View 4 Replies
View Related
Jun 29, 2010
My boss is looking to use Linux for an embedded device that will require some 2D graphical output. Ideally I'd want to do this without the use of X.
Ideally what we are looking for is something that is easy to program for and could execute without initializing an x-windows system. If we do need to program inside of X what would be the best approach for creating a full-screen dedicated 2D interface?
View 3 Replies
View Related
Mar 13, 2011
i have newly installed fedora..and i wanted to know..whether the graphics in c++ can be used in a normal way...if not... i need the code for changing the background color and color of the font. And i want to know..as we cannot use conio.h..how can we clear the screen..in turbo we used to use clrscr()..but what do we use in c++ Its for a project.
View 14 Replies
View Related
Jun 14, 2011
i want to develop some c++ graphics programs using vi editor.i m currently using Fedora
View 4 Replies
View Related
Jan 2, 2011
i want to run this code
[code]...
i have error in graphics. i have C++ 2005
View 4 Replies
View Related
Sep 18, 2010
i want to run c graphics program on linux for that i want to install[URL]but i dont know how to install this graphic file on linux to make it un.
View 1 Replies
View Related
Jun 24, 2010
Can anyone tell me how do i get start with graphics programming in c
under linux..
View 3 Replies
View Related
May 30, 2011
I want to insert graphics into latex file, for longtime I used xfig to create graphs, but it is limited,specially for math formulas, dia i find not easy to use.Finally I want to try asymptote or tikz which one is more appropriate
View 1 Replies
View Related
Jan 26, 2010
I'm writing simple programs using C++ on CodeBlocks, now I got stuck on a bus reservation program which need the following header files
#include "conio.h"
#include "stdio.h"
#include "iostream.h"
#include "string.h"
#include "graphics.h"
#include "stdlib.h"
#include "dos.h"
[Code]...
My question is how to dowload all these in interface folder instead of downloading one by one? Tried googling but no success.
View 2 Replies
View Related
Jan 26, 2010
I'm used to write simple programs on codeblock which run on consle. i.e.console applications. When I try to compile programs which need graphic features, I get stuck as many libraries 9especially header files) are not in MINGW/include folder so I have to search on the net and add those files into include. My question is, by default, to enable graphics features on code block which "folder" should I download and incorporate it into codeblock? I tried to follow examples on glut, opengl, that is you have to download glut and add it somewhere on codeblock. Now I just want to have graphics functionality especially which need graphics.h file, searched on the net and find that sometime you have to download BGI, sometimes you have to download SDL, etc.
I hope you get the picture of what I'm trying to understand, it seems that by default codeblock doesn't come with graphic functionality e.g.graphics.h file, now what shall I download, and where do I add it so that I can draw graphs etc on codeblock. [codeblock has /include folder in C: Program FilesCodeBlocksMinGWinclude], now whenever I download new feature e.g. glut has its own version of include, lib folders etc. Is it necessary to add those include, lib on inlude, lib of C:Program FilesCodeBlocksMinGW? or it should work on its own original path? suppose I download glut on C:Program FilesCodeBlocksGlut. Now, what folder should I download to have graphics on codeblock?...
View 1 Replies
View Related
Jul 19, 2015
So I wanted to use R's graphics to visualize information, but when I typed
Code: Select alldemo (graphics::graphics), R's built-in introduction to its graphics, the separate window opened up with no graphics, and the terminal returns
Code: Select allError in plot.new() : attempt to plot on null device.
I have the core Jessie packages for R, so I don't think that is the issue.
View 0 Replies
View Related
Aug 19, 2010
I am new to ubuntu.I have done some programming in c++ under windows using graphics.h header file.I want to implement my programs in ubuntu.How can i do this?I am writing a program.
View 4 Replies
View Related
Feb 17, 2011
I have been googling all day looking for APIs exposed by the linux kernel for graphics n i haven found any information anywhere.
View 5 Replies
View Related
Aug 1, 2011
#include<stdio.h>
#include<graphics.h>
void boundfil(int x, int y, int fill, int old)
{
if(getpixel(x,y)!=old && getpixel(x,y)!=fill)
{
[Code]...
When I am trying to execute this progrm in Ubuntu the graphics window comes and suddenly disposes when am trying to input the values.. and the error is.."a.out: ../../src/xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed. Aborted"
View 12 Replies
View Related