Search Results

Search found 12772 results on 511 pages for 'the little schemer'.

Page 116/511 | < Previous Page | 112 113 114 115 116 117 118 119 120 121 122 123  | Next Page >

  • c++ and SDL: How would I add tile layers with my area class as a singleton?

    - by Tony
    I´m trying to wrap my head around how to get this done, if at all possible. So basically I have a Area class, Map class and Tile class. My Area class is a singleton, and this is causing some confusion. I´m trying to draw like this: Background / Tiles / Entities / Overlay Tiles / UI. void C_Application::OnRender() { // Fill the screen black SDL_FillRect( Surf_Screen, &Surf_Screen->clip_rect, SDL_MapRGB( Surf_Screen->format, 0x00, 0x00, 0x00 ) ); // Draw background // Draw tiles C_Area::AreaControl.OnRender(Surf_Screen, -C_Camera::CameraControl.GetX(), -C_Camera::CameraControl.GetY()); // Draw entities for(unsigned int i = 0;i < C_Entity::EntityList.size();i++) { if( !C_Entity::EntityList[i] ) { continue; } C_Entity::EntityList[i]->OnRender( Surf_Screen ); } // Draw overlay tiles // Draw UI // Update the Surf_Screen surface SDL_Flip( Surf_Screen); } Would be nice if someone could give a little input. Thanks.

    Read the article

  • How do I connect the seams between my terrain?

    - by gnomgrol
    I'm using c++ and D3D11 and I'm trying to create a (pretty) large terrain, lets say 4096x4096, maybe larger. I've got the basics of terrain creation and already split it up into chunks. But, when I'm rendering them (every chunk has its own vertex and index buffer, as well as its own heightmap), there are still little pieces missing between them. I read a lot about LOD(Level Of Detail) and GMM(Geometry Mipmap), but I can't really implement the theory I read. At the moment, it looks like this: I could really use some help, everything is welcome. If you have some good tutorials on any of this, please share them.

    Read the article

  • Changing a Sprite When Hit in GameMaker

    - by Pixels_
    I am making a simple little Galaga style game. I want the objects sprite to change whenever it is hit. For example if a laser hits an alien then the sprite takes 1 out of 4 damage to its health points (HP). However I want the sprite to change from green to yellow after 1 hit, yellow to orange after 2 hits, orange to red after 3 hits, and red to pixel explosion after all 4 HPs are lost. That way you can easily distinguish the amount of health each alien has left. How can I do this? Preferably explain it in code.

    Read the article

  • How will you make a webdeveloper resume in 2012? [closed]

    - by Napolux
    It's been a while since the last time I updated my resume. Now it's time to give it a refresh, but even if I have a strong experience and I worked recently on many big projects my resume "feels" quite old. Maybe is the format (in Europe we have europass that is a standard) that doesn't fit the work of a developer, I don't know. Or maybe it's only me: it's 2012 and I start thinking that showing a list of projects and a bunch of acronyms in a CV like PHP, HTML, JS, CSS, whatever is quite boring for a recruiter. How is your resume? What is in your opinion the best format (a little website, a PDF showcase of the projects I worked on, just a standard CV, etc...) for a webdeveloper?

    Read the article

  • Licensing my own dh_* scripts

    - by avnik
    I wrote little helper script, for my own buildsystem. This script uses debhelper's Dh_lib to inject pre/post install fragments. use strict; use Debian::Debhelper::Dh_Lib; foreach my $package (@{$dh{DOPACKAGES}}) { autoscript($package, "postinst", "postinst-rock2deb"); autoscript($package, "postrm", "postrm-rock2deb"); } Should it be GPL'ed, because it use GPL'ed Dh_lib, or it uncopyrightable, because no other way to do it? Other scripts in my buildsystem are MIT/X licensed, and I prefer to stay with MIT/X when possible. (question moved from stackoverflow as suggested by few SG members)

    Read the article

  • Ubuntu 12.04 x64 - Very slow response and sluggishness

    - by Murphy1138
    Recently updated to 12.04 x64 on my AMD HEX core 4GB system, over the last few days I feel that the overall system is sluggish/laggy , for instance hitting the dash button, the dash opens but the recent activity of files/videos etc is incredibly slow to populate, like wise in Nautilus and browsing my media, the file names are showing up but it takes an age to populate the "thumb" of the video, If I go into Gnome-shell the shell response is a little faster but again clicking on applications there is still a noticeable pause. I have the latest Nvidia Drivers loaded and I have very fast SATA drives, if I reboot into windows 7 the system is so much quicker in its response, I only use windows for games and Ubuntu is my main OS. 10.04/10.10/11.04 was Super quick and this was when the system still had a Duel Core Chip and a worse Nvidia card, 11.10 was pretty snappy, but 12.04 just feels bloated on each system I have installed it on. My hardware is more than up to the task so has anyone got any commands i can run to help diagnose the issue? Anyone else got the same problems? Thanks Murph

    Read the article

  • What’s the Difference Between Sleep and Hibernate in Windows?

    - by Lori Kaufman
    Windows 7 provides several options for conserving power when you are not using your PC. These options include Sleep, Hibernate, and Hybrid Sleep and are very useful if you are using a laptop. Here’s the difference between them. Note: this article is meant primarily for beginners. Obviously ubergeeky readers will already know the difference between power modes. Screenshot Tour: XBMC 11 Eden Rocks Improved iOS Support, AirPlay, and Even a Custom XBMC OS How To Be Your Own Personal Clone Army (With a Little Photoshop) How To Properly Scan a Photograph (And Get An Even Better Image)

    Read the article

  • have a problem with my 2nd quad bottom left vertex position ? weirdd

    - by RubyKing
    Hey all I'm just trying to add another quad to my frustum and when doing so I get this weird little error. What happens is the bottom left side of my quad seems to stick to the center point for no apparent reason that I can think of and or figure out from. has anyone else experienced this issue and knows a solution or would you like more information please do ask. here is my main.cpp file http://pastebin.com/g9q8uAsd I think its because of 2 different quad vertex array data is in the same array.

    Read the article

  • How can I add a custom item to the Sound Indicator?

    - by con-f-use
    One of the strength of Unity are the various standardized indicators. I want to customize the sound indicator with an additional menu entry that runs a small shell script. I'm not afraid of a little Python code and I hope someone can point me to the right subroutine in the right file. I suspect that will be fairly easy but all the indicators are just so bloated that I can't look through their code in a reasonable time. Any help is appreciated. I know it is possible as the marvelous Skype-Wrapper does it.

    Read the article

  • How do I make the 'Shut Down the Computer' window be monochrome ?

    - by Agmenor
    When I hit the power button of my computer, a window titled 'Shut Down the Computer' appears. It gives a few options, including shutting down or restarting. This window is different following the context I hit the power button : when logged in and seeing my desktop, it includes colourful icons (red for shutting down, for example). when I am not logged in yet, the icons are monochrome and a little bit more stylized. I clearly prefer the last type of icons : how do I set them as default whatever the context of use of the 'Shut Down the Computer' window ?

    Read the article

  • sometimes, strange audio distortion(peeping, scratching), ubuntu 12.04

    - by richi902
    i have a problem with my sound in ubuntu 12.04. the problem is, that sometimes out of nowhere, when switching songs, or playing youtube videos, changing volume with my keyboard buttons, that the sound gets distorted(peeping, scratching). i dont know if it is related, but when i skip through music in rythmbox, there is also a little scratching noise. i can sometimes temporarly fix it: for youtube videos, i refresh the page, and sometimes it works agian normal, mostly not. for audio playback with rythmbox, i have to pause the song for sometime, and resume it, and hope that it works. before all that,i have changed my soundcard to "Analog Surround 5.1" in the sound settings from ubuntu, but i also used alsamixer to change it from 2 channels to 6 channels, since changing in ubuntu sound settings alone wasnt enough to make the other speaks work. i use a ASUS P8-H61-M LE B3 Revision Motherboard. which has a built in surround soundcard.

    Read the article

  • What should be learned for someone starting in Android Games?

    - by user14544
    I know this might be a little subjective. But I've read the other questions. A lot of answers kept on popping up like to use box2d, libgdx, andEngine, etc. So the real question is, what would be the best to start off with as a beginner. I have some experience with java code, just by reading about in the Oracle Docs. I've gone through Flash and Eclipse. When i mean gone through, i don't mean i have actually created my own game from Flash or Eclipse, but i just learn things here and there. Currently I'm reading Beginning Android for Beginners but I don't have the knowledge to implement my own Ideas into the game tutorials because of lack of experience. I'm looking for a way to learn how to program to create games for Android. While at the same time get experience from programming. I do not want to learn those drag and drop game making applications such as GameMaker.

    Read the article

  • In what way I can implement packet filtering function in C++/C#?

    - by Network study
    Background: I am going to design a firewall-like application (with GUI) which will include several functions such as Packet sniffing and packet filtering. Both of the functions should be implemented to support different protocol levels including application, transport, network and link layer. I only know a little in C#.Net programming to perform the IP packet sniffing. It is also known that packet filtering requires the techniques in WFP or LSP and packet sniffing in application requires dll hooking. Questions: I am not sure which programming language(either C++ or C#) would be suitable for designing such an application described above. If I want to implement the packet filtering function, any libraries will be needed? edit01: Someone suggest that winDivert would be helpful, is it true?

    Read the article

  • How good is it for SEO if you have a widget that lives on other sites?

    - by Genadinik
    I made a widget that would ideally live on other sites. Here is an example: http://www.comehike.com/outdoors/widget.php?type=hike&hike_id=108&width=500&height=500 I guess since the widget would link back to me, it would be an SEO boost for my site. Is that correct? Or would it be just an SEO boost for that particular URL? If it is just an SEO boost for the particular URL, it does me little good since that page does not link to any of my other pages. Am I thinking about this correctly? How are these things typically handled so that there is a benefit to my site's SEO?

    Read the article

  • How to write the path to a Windows shared folders address in terminal?

    - by user206996
    I want to permanently mount a few Windows shared folders. I googled that topic and found a lot of good answers, but with all the solutions I have a little problem: I believe I can't properly give an address of shared folder. I can find it following way: "Network" - "Windows Network" - "WORKGROUP_name" - "Computer_name" - and there is some folder i would like to mount. How can I write the path to the folders in terminal? UPD i can access needed folder throw address in location bar smb://server/ro/, but i try mount it by editing /etc/fstab file (using guide https://wiki.ubuntu.com/MountWindowsSharesPermanently) i get error mount error: could not resolve address for server: Unknown error PS in /etc/fstab : //SERVER/RO /media/server cifs username=user,password=pwd, uid=1000,iocharset=utf8 0 0

    Read the article

  • What would be a good way to request comments?

    - by WarpEnterprises
    In the project/team I'm working the frequency of comments is a little low. One reason might be that it is not clear to the long-time devs what lines in the code really needs a comment (each part of the project has quite fixed devs). To increase this we plan to let team members review the code and check in "requests for comments", which the main dev of that part should replace with useful comments. Do you think this could work? If "yes": what tags should we use to mark? (e.g. //TODO please comment) Can you think of alternatives for this process? Edit: I appreciate your answers about best practice in commenting and writing code, and I completey agree. But my question targets the cases where refactoring is not an option (not wanting to change working code, not wanting to "accuse" main dev of producing code that needs refactoring,...) - so only more or better comments are an option (at least for this question).

    Read the article

  • 12.04 LTS usb wont boot

    - by Niva
    I've tried to install ubuntu 12.04 LTS parallel with Windows 8, on my laptop Clevo m767yu But when I try to boot from USB it just stops when it's trying to read the files. it stops and shows this picture: https://www.dropbox.com/s/np3ptvvmasv7ax2/IMAG0097.jpg If I try to boot from a cd, it stops and shows a cursor blinking. I've tried both usb and cd on other computers, and the both works. I've a little experience with Ubuntu, but I have never had problems with the installing process. Any help will be appreciated!

    Read the article

  • Happy Birthday LearnVisualStudio.NET?

    - by TATWORTH
    Back in 2003, I made the changeover to Dot Net with the help of LearnViusal Studio.NET. They provide an excellent learning resource. I commend membership to you. This week only, you can get started for as little as $48.97 for a 1 Year Subscription! Save 30% at LearnVisualStudio.NET http://www.learnvisualstudio.net?awt_l=BN5TZ&awt_m=JaSOlFqKSr1QwB You can also get a Lifetime membership for only $139.97! That's over $59 in savings! A lifetime membership will grant you access to every video on the site and every video we ever create for LearnVisualStudio.NET without giving us another dime! This is a great chance to access over 900 tutorials to help you learn C#, VB, ASP NET and more. Get started today! http://www.learnvisualstudio.net?awt_l=BN5TZ&awt_m=JaSOlFqKSr1QwB

    Read the article

  • Web Content Writers Provide Value Beyond Words

    With a great deal of fanfare, Apple Computer recently released its iPad, assuring us that we would all become very familiar with this product and how it would change our lives for the better. As technology is difficult to keep up with these days, it's certainly true to say that we've heard this kind of claim before, but there does seem little doubt that one of the company's other products, the iPhone, will go down in history as having revolutionized the way that we communicate. Once again, we see how important the Internet is to us right now and how it is likely to gain additional traction.

    Read the article

  • Do open world games need less backstory?

    - by Raceimaztion
    I've played a few open-world games and really enjoyed them, though the ones I've really enjoyed have generally received complaints about how little story there is to them. The Saboteur is one example of this. Fully open-world, good enough story (for me, anyway), engaging gameplay, and still has received complaints in reviews about not having enough story. Do open-world games actually need a full, all-encompassing story? Or can fun and engaging gameplay fill in the gap and let the designer get away with a slightly less complete story?

    Read the article

  • Windows 7 professional won't boot after installing ubuntu 11.10 alongside

    - by Piman3.14
    I can't boot into windows 7 professional after installing ubuntu 11.10 alongside windows as a dual boot. Windows starts to boot but then it stops during start up and "crashes". I do not have an installation or repair disc and windows is not registered as I built the computer in a class. Please help anybody who is familiar with ubuntu. Optimally I would like to just uninstall ubuntu altogether as GRUB scares me a little and Ubuntu isn't as good as windows 7 and "Bleeped" stuff up. I tried google and nothing that great came up and also I can't find a phone # to contact ubuntu/linux. :-( Specs: OS: Windows 7 professional x64, Ubuntu unity 11.10; CPU: Intel Celeron 2.6 GHz; 2 GB of RAM; Built in september or october 2011. Desktop Homebuilt PC.

    Read the article

  • How to start working in a team on a project? [closed]

    - by Adio
    Ok, for the first time in my life I am going to work in a team. The problem is that all the team members including me are junior developers and for all of us this is the first time we are working in a team. The problem is that we do not know how to start the project. We know a little about scrum and agile development, we have our user stories in place and our created project - which does not have even one piece of code - and now we are stuck and don't know how and what to do? All scrum books talk about scrum development but lack of the details like how to start. How my team will know what object I am using? How we will push the first piece of code and what it will be? Any help will be great. Books, articles, advice, or anything.

    Read the article

  • Hide .desktop files from shares in VirtualBox

    - by Oli
    I share my desktop with VirtualBox. It allows me to work on current files in a nice easy way. I have quite a few utility launchers on my desktop. It's only a dozen or so at peak time but it makes navigating the list of real files a little harder when I'm working from Windows. I was wondering if there was a way of excluding the files from the share. Either at VirtualBox (I've no idea where it keeps its samba configuration -- or if it actually uses samba at all for that matter) or in Windows.

    Read the article

  • Azure VS Tools and SDK - systray already running&hellip;

    - by Shawn Cicoria
    If you are getting a message when you start the Compute Emulator “Systray already running…” from within Visual Studio one fix is to check what the image name is loading is. For some reason, on 2 of my machines the image was loading with the 8.3 format.  This caused the logic in the VS tools to not find the process.  So, to fix, I just did a little copy/rename magic. C:\Program Files\Windows Azure SDK\v1.3\bin>copy csmonitor.exe csmonitor-a.exe 1 file(s) copied. C:\Program Files\Windows Azure SDK\v1.3\bin>del csmonitor.exe C:\Program Files\Windows Azure SDK\v1.3\bin>copy csmonitor-a.exe csmonitor.exe 1 file(s) copied. If you bring up task manager and see something like CSMON~1.EXE in the Image Name column, you probably have this issue.

    Read the article

  • The underlying provider failed on Open

    - by aghausman12
    The underlying provider failed on Open is an entity framework error and with a simple fix it is little difficult to sort out what is going wrong. 1) if you are using IIS 7 with Integrated Security in connection string. Make sure your IIS user have appropriate permissions to access database. 2) If you are using Visual Studio built in Web Server and facing this issue. Simple fix is to either re-start Visual Studio or Kill the process of Web Server which is (WebDev.WebServer*.exe). I was in the second...(read more)

    Read the article

< Previous Page | 112 113 114 115 116 117 118 119 120 121 122 123  | Next Page >