Questions tagged [macos]

macOS is the operating system that runs on Apple's Macintosh line of computers.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

MacOS looking for 'vsh.cli' in the wrong directory after installing vsh

I am following this tutorial for introductory Python roguelike development using the library libtcod. when I run vsh rl in the terminal as instructed, I get the ...
0
votes
0answers
16 views

Bash script crashes when sourcing

I have been following a tutorial about setting up vulcan on macOS and have been having trouble. I think it might have something with the versions. I am using 1.1.101.0 and the tutorial uses 1.1.73.0 ...
1
vote
1answer
35 views

How to Render two or more images on video frame in same draw call using metal

I'm new bee to graphics programming and i have an existing code base which basically takes frame from video and passes it to metal shader where effects (like colour changes) happens. Whats currently ...
0
votes
1answer
175 views

Why doesn't my pygame window close on MacOS?

I am trying to create a window and then close the window. Everything runs smoothly until I click the red X. When I click it, the window doesn't close and all that happens is that the colourful red ...
0
votes
2answers
344 views

MacOS Mojave makes SDL2 unaccessible

I have some code that worked with no issues on MacOS Sierra, but when I update to Mojave, my compiler always says that it can't find SDL2. Here's the error: ...
0
votes
2answers
54 views

How can I take ingame images and videos?

I’m using MonoGame and Visual Studio Community on my Mac to develop a game for iOS. I want to take ingame images and videos of the gameplay while the game is running on an iPhone/iPad. Afterwards, I ...
2
votes
1answer
660 views

Nuget in Unity with Mac OS

I have moved over to Mac for Unity development, and am aware you can still use Windows .dll files in your project. I use NuGet as a secure method of getting specific dlls, and have usually done this ...
1
vote
2answers
91 views

Why are Mac versions of games larger in filesize than Windows versions?

I have browsed many games mainly on itch.io and many developers offer a Mac version of their game along with the Windows version. The Mac version of all those games is significantly larger in file ...
1
vote
0answers
303 views

How to change mac opengl version back to mesa

A while ago I wanted to use the functionality of opengl 4.5+ on my mac, so I installed mesa with macports, and it worked. Recently, however, I tried to use my code again and it said that these ...
2
votes
0answers
95 views

Game Maker Studio 2, Shaders not working as intended in webbrowsers on mac

The shader output of my html5 game in Game Maker Studio 2 looks wrong on webbrowsers on MacOS. Sometimes the shaders lack completely and at other times the shader colors look completely different. ...
0
votes
0answers
215 views

Using pygame on mac, strange errors

I am using pygame on a mac, and when the app runs, it draws a frame of the screen fine, and then crashes with the following error: ...
0
votes
0answers
695 views

Navigate UI with Dpad from Xbox controller on Mac [Unity]?

So, according to some documentation I found, the Xbox controller on Mac does not return Dpad presses as vertical/horizontal axes: As you can see, the Dpad is only recognized as buttons 5, 6, 7, and 8,...
0
votes
1answer
31 views

Unity 5.6.0f3 Inspector Tooltips are off in macOS, is me or everyone the same?

Running latest version (5.6.0f3) in macOS, my tooltips are always misalign to the left of my screen, is me or anyone else also experience the same? And, it is still misalign even after I reset the ...
5
votes
1answer
155 views

Unity: how to change runtime code for different platforms?

In Unity, how can I programmatically control what source code is compiled? I have a script with various BuildPipeline.BuildPlayer calls, allowing me to build all ...
0
votes
1answer
2k views

Unity assembly files missing from “Temp/bin/Debug”

I'm trying to use VS Code on a Mac with Unity and C#. When I try to open a Unity project in VS Code, it can't load Assembly.dll* files from few locations which are defined by default in .csproj files; ...
0
votes
1answer
91 views

How to free the GPU from a long task?

I'm developing an application that uses the GPU. Some tasks might be rather long (like a fragment shader with a loop). I have the impression that I can make the entire OS visually freeze by asking the ...
2
votes
1answer
95 views

Can I Create A Windows Package to Submit to the Window Store using the Mac Version of Unity 5.3?

Note: New to App Development. I'm using a Mac for building my three 3D puzzle apps with Unity 5.3.2. I want to create Windows versions to sell in the Windows Store. I attempted to transfer the ...
3
votes
1answer
193 views

How can I get Unity to tell me the battery status of my OS X laptop?

How do I get battery status on an OS X laptop in Unity? This is un-Googlable: I keep finding either mobile stuff (iOS or Android) or people complaining about laptop battery life.
4
votes
0answers
648 views

Windows vs OSX Performance with SDL, OpenGL [closed]

I have been writing an SDL OpenGL game in c++ for a couple of years now, writing my own engine for the most part (using Box2d for physics). I'm primarily a mac user, so I've been using xCode to write ...
5
votes
1answer
661 views

How to bundle JRE with a game on Steam for Mac users?

Heyo! I have looked for a step by step tutorial everywhere and haven't been able to find anything so please try to be helpful and fairly slow. I am creating a game for Steam and I am using Java to ...
0
votes
0answers
724 views

Why is my OpenGL 4.1 shader not working on OS X Macbook ( works on Linux )?

I've recently rebuild shaders for my program and it stopped "working" ( black screen ) on OS X ( El Capitan ), but it's ok on Linux. What could be the cause? There are no shader compilation errors, ...
1
vote
0answers
437 views

What is Sprite Kit capable of? [closed]

I am messing around with Game Maker in my free time. I learned some Java at school but never really understood the object oriented principles. When I got to know Game Maker I was surprised that game ...
1
vote
1answer
1k views

Version 320 is not supported, SDL C++

I have the following four lines before I create the window. ...
0
votes
1answer
239 views

GLFW Fullscreen OS X in LWJGL 3

How does one create a fullscreen window properly in OS X from the code, instead of just expanding into the current desktop? I am referring to the sort of fullscreen window that one gets when the top-...
1
vote
1answer
51 views

Indicate key options in a keyboard-only game

I am creating a music-based app for one of the courses I teach at a high school, so it's not for sale in the app store, it's only for my students to use. I decided to make it keyboard only partially ...
1
vote
2answers
320 views

LibGDX Deployment questions

A few questions from LibGDX newbie: How do you deploy a Mac/Windows app? If Mac app, can this be deployed to Mac App Store? Do you need to pay monthly (for RoboVM) for iOS development/deployment? I ...
1
vote
1answer
460 views

glGenArrays - This functionality is not available

Whenever I call glGenVertexArrays(), I get the following exception: Exception in thread "main" java.lang.IllegalStateException: This functionality is not ...
0
votes
1answer
129 views

Error compiling Unity after porting to mac

I used BitBucket to move my project from a PC to a Mac, now I can't compile in my Mac, as I get the following error: ...
1
vote
0answers
1k views

How do I port a simple 2D Monogame to MacOSX

I have made a simple Windows Monogame project (using the DirectX template). What are the steps to port my game over to MacOSX? If I need to change my Monogame project so that it uses a OpenGL ...
2
votes
2answers
5k views

Why is Unity3D on OSX ignoring my XBox 360 controller?

I'm using a fork of the Tattie Bogle driver that has a signed kext. The System Settings panel shows all inputs correctly. One axis is configured in Unity3D 5 like this: Still, I don't see any input ...
1
vote
0answers
188 views

Efficiently rendering tiled map on OS X

I'm writing an original (top-down) SimCity clone in Swift and attempting to use SpriteKit as the basis for the game. However, I am running into performance issues when rendering and animating the tile ...
1
vote
1answer
624 views

Setting up OpenGL on Mac OS 10.10 while keeping it cross-platform

I have experience with game programming mainly in allegro or drawing everything on native windows (No graphic libraries). Now I am interested in learning OpenGL for game development. I have found ...
2
votes
0answers
158 views

How to create a custom installer for my game for PC/Linux/Macs? [closed]

How can I create a custom installer that integrates a product key unlocking feature or tells the distributor that the customer was able to access the product like the BMT Mirco payment processor. Or ...
2
votes
4answers
718 views

OpenGL setup on Windows

I have been trying to use OpenGL for two days now. First on Mac, then on Windows. The problem with Mac is that it doesn't support the newer versions of OpenGL. I ran a tutorial that actually did get ...
0
votes
0answers
456 views

alBufferData() sets AL_INVALID_OPERATION when using buffer ID obtained from alSourceUnqueueBuffers()

I am trying to stream audio data from disk using OpenAL's buffer queueing mechanism. I load and enqueue 4 buffers, start the source playing, and check in a regular intervals to refresh the queue. ...
7
votes
1answer
706 views

Hotplugging Joysticks And Gamepads On OSX

I've tested the cross platform joystick support features on GLFW, SDL2 and SFML. SDL2 appears to be the most complete, but it can't detect when joysticks have been unplugged on OSX. To me, this is a ...
2
votes
1answer
3k views

Why do I get “function not supported” exceptions for OpenGL 3.2 functions using LWJGL?

I am currently having an issue trying to initialize a frame buffer using LWJGL. When I try to call GL32.glFramebufferTexture(int, int, int, int) it throws a "Function is not supported" error. I have ...
1
vote
1answer
315 views

How to build an iPad game without an Apple device?

I am an experienced PC/mobile app developer trying to build an iPad app but I don't have access to a physical device. I have a PC and an Android phone (whatever good that is!) The app is essentially ...
7
votes
1answer
8k views

Problem getting information about running processes with .GetProcesses() in Unity3D on OS X

I was going to ask this on Unity Answers, but I keep getting an error when trying to get to the site so thought maybe you guys could help. I've also tried the Unity3d subreddit and didn't manage to ...
-1
votes
1answer
172 views

How can I use a Unity C# script simultaneously in a non-Unity Linux program?

I have a C# script inside a Unity project. I'd to both keep using the script in this Unity project, and to use it to compile a non-Unity Linux daemon. So I would basically need to create a new ...
5
votes
5answers
973 views

How can I support retina graphics in libgdx?

I'm not sure if I'm missing it somewhere or if this just doesn't exist, but I'd like to support "retina" graphics on desktop displays that support them (like the newer MacBook Pro), but I can't find a ...
2
votes
1answer
2k views

Why do I have to run my 2D game at 300+ FPS for movement to be passably smooth?

I'm working on a simple game with SFML, and the only way to make the game reasonably smooth is to allow it the highest framerate my machine can handle (that is, giving it no limit). 60 FPS in my game ...
1
vote
1answer
397 views

Error compiling irrlicht android using ndk in Mac

I'm new to irrlicht and I have started with irrlicht android port. I have made the following changes to android.mk file: ...
0
votes
3answers
63 views

Splitting a large number of FLAs into multiple gifs

I currently have a large number (300 or so) FLAs that I wish to convert to GIFs for a HTML5 game I'm creating. Each one of these FLAs contains multiple animations in the timeline, and they all have ...
1
vote
1answer
814 views

What's the equivalent of wglShareLists for Mac OS?

I'm trying to share lists between two contexts on Mac OS but despite my research I couldn't come up with an answer so far. I've found that NSOpenGLContext was able to initialize a context with a ...
3
votes
0answers
613 views

Gamepad support for OSX [closed]

What is the most common method for providing gamepad support in an OS X game? I've been using an IOHIDLIB wrapper named DDHIDLib https://github.com/Daij-Djan/DDHidLib and it seems to be working but I ...
5
votes
1answer
829 views

Does SDL running on Mac OS not recognize Xbox controllers?

I'm trying to learn a bit of SDL, and have been bouncing between Windows and Mac platforms, but am noticing that an SDL program running on my Macbook doesn't recognize the presence of the Xbox ...
5
votes
4answers
2k views

Why do most game devs prefer OGL for OS X and D3D for Windows? [closed]

Today I decided to check what Diablo 3 developers used to do graphics: OpenGL or Direct3D? My mind was completely blown: For Windows, they've used D3D and for OS X they've used OGL. I did some ...
0
votes
1answer
95 views

Can I my iOS-based editor save .plist files that my Mac game can read?

I want to make an editor on iOS which will record touch positions into a file. That file (in the .plist format) will eventually be used for positions in my Mac ...
1
vote
0answers
61 views

Creating transparent image with localGraphicsConfig not always working

I'm trying to use GraphicsConfiguration.createCompatibleImage to create transparent images. This creates an empty image which I'm filling with a mosaic pattern ...