The love2d game.exe is not sharp in windows. How to make the game sharp(for pixel game)? - lua

In windows
In linux
I am a linux user so i was making the game in linux. While developing the game when i compiled the game, it was sharp. For sharping i have used this code love.graphics.setDefaultFilter('nearest', 'nearest').
After completing the game i have made it executable for windows in both 32 and 64 bit. On running the .exe file in windows, it is not as sharp as it is showing in linux. The game works fine but, this small detail is bugging my mind. Any suggessions?

Use a conf.lua and play around with the t.window.msaa option.

Related

(VISUAL STUDIO) Modify c++ direct3d game template to make it transparent, stay topmost, and click throughable

In my long hours of using programs via steam using non-steam game functionality, I have finally grown to the point of really desiring steam overlay functionality while 'ingame'.
Since, in most cases, you need a directx/OpenGL/Vulkan/etc program to hook the steam overlay properly, I am trying to make a directx 'game' that will run fullscreen, stay topmost, have no titlebar, be click-throughable, have a transparent window, and when it launches it will automatically run a .bat file, so that way you can add the pseudo 'game' to steam and rename it your program's actual name (i.e. Adobe Photoshop), and when you launch the 'game' it will run the .bat file where you can place a start command to launch, for example, Adobe Photoshop.
I used the Direct3d Win32 Game template in the C++ new project options of Visual Studio 2013, and edited ShowWindow(hwnd, nCmdShow); to ShowWindow(hwnd, SW_SHOWMAXIMIZED); so the 'game' runs fullscreen now and the steam overlay can hook into it just fine, but I am unsure how to do the rest of what I am seeking. Sorry, I am not that good with C++.
This would be useful for people who like to run non-steam programs pretty often. Thanks in advance for any help.
EDIT:
Thinking, possibly the 'game' would need to have some sort of functionality that will keep the 'game' in focus all the time, so that way it will always accept the shift+tab shortcut for the steam overlay.

Turtle and QPython

I have been playing with basic Python(2.3) on my PC (which has Windows 8 OS) for awhile, but my PC broke and I now just have my Android Kitkat tablet.
I downloaded Qpython and have been using that, but when I try to import and start turtle - in the way I have always done on my PC, it just runs:
ImportError : No module named turtle
Is there another way to run turtle on QPython? Or is turtle not able to run on Android?
Turtle works with tkinter but tkinter isn't working on mobile device. You may use kivy to do so and kivy is cross-plateform for your android and also your PC. I've never use it but I'm going to get a try. I think it may solve your problem.

Point Grey Bumblebee2 firewire 1394 with Nvidia Jetson TK1 board

I have successfully interfaced Point Grey Bumblebee2 firewire1394 camera with Nvida Jetson TK1 board and I get the video using Coriander and video for Linux loop back device is working as well. But when I tried to access camera using OpenCV and Coriander at the same time, I have conflicts. And when I tried to access the video from camera by closing the Coriander then I can get the video but in that case I am not able to change the mode and format of the video. Anyone can help me to resolve this problem. Can I change the video mode of the camera from OpenCV.
You will have to install the flycapture sdk for ARM if you want to do it manually (by code). The flycap UI software i dont believe works on ARM, let alone ubuntu 14.04, just ubuntu 12.04 x86. If you have access, what I usually do is plug it into my windows machine and use the Flycap software to change the configurations on the camera.
I found this question completely randomly, but coincidentally I am trying to interface the bumblebee2 with the jetson right now as well. Would you care to share as to what firewire mini-PCIe you used and how you went about any configurations (stock or grinch kernel, which L4T version) ?
Also, although not fully complete, you can view a code example as to how to interface with the camera using the flycaputre sdk here: https://github.com/ros-drivers/pointgrey_camera_driver. It is a ROS driver, but you can just reference the PointGreyCamera.cpp file for examples if your not using ROS.
Hope this helps
This is not well advertised, but PtGrey do not support firewire on ARM (page 4):
Before installing FlyCapture, you must have the following prerequisites:... A Point Grey USB 3.0 camera, (Blackfly, Grasshopper3, or Flea3)
Other Point Grey imaging cameras (FireWire, GigE, or CameraLink) are NOT supported
However as you have seen it is possible to use the camera (e.g. in Coriander) using standard firewire tools.
libdc1394 or the videography library should do what you need.

Windows phone emulator turns grey after several seconds after the program is turned on

I have a problem with Windows Phone emulator in VS13, I am developing a quiz game.
When I run my program, virtual machine turns on, everything goes fine, after that it builds my program and finally it works, but only for several seconds.
I can do whatever I want during these seconds, I've even managed to start the game, but after 7-8 seconds the emulated phone screen turns gray.
I've checked what happens with the virtual machine in Hyper-V manager, it seems to stop due to lack of memory, am I right with this conclusion?
And if I'm right, what can I do to solve this problem with memory apart from upgrading my PC? :)
I'm using Windows 8 installed as a virtual machine via VMWare Workstation.
Here are two screenshots of my gray screen - one is WF emulator and the second one is the same screen, but opened via Hyper-V manager (it says "not enough memory" in the bottom line).

Jmyron and Windows 8

I am running into hardware issues that perhaps someone here knows a workaround. I am using a PC and windows.
For several years I have been making interactive installations using video tracking: the Jmyron library in Processing, which has functioned marvelously for me. I use this set up: cctv type microcameras to a multiplexer, the I digitize this signal via a firewire cable to a pci card. Then Processing reads these quads (sometimes more) as a single window, and it has always worked (from windows xp all the way to 7). Then comes windows 8: Processing seems to prefer the built-in webcam to the firewire bus. On previous version of windows, the firewire bus would naturally override the webcam, provided I had first opened a video capture in Windows Maker, and then shut it down before running the Processing sketch. In Windows 7, which had no native video capture software, I used this great open source video editor called Capture Flux. The webcam never interfered. With Windows 8, no matter what I try, Processing defaults to the webcam, which for my purposes is useless. I have an exhibition coming up real soon, and there is no way I am going to have the time to rewrite all that code for Open CV or other newer libraries.
I am curious if anyone has had similar problems, found a work around? Is there a way of disabling the webcam in Windows 8 (temporarily of course, because I need it to be operational for other applications), or some other solution?
Thank you!
Try this:
type "windows icon+x" choose device manager (or use run/command line: "mmc devmgmt.msc")
look for imaganing devices, find your integrated webcamera
right click on it and choose disable - now processing should skip the device.
Repeat the steps to reenable the device.
Other solution would be using commands in processing:
println (Capture.list()); (google it on processing.org) this way you will get all avaliable devices and you can choose the particular one based on its name.
Hope this helps.

Resources